-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

Random-Music.sh (Nautilus Script)

   1.0  

Nautilus Script

Score 53%
Random-Music.sh (Nautilus Script)
zoom


Random-Music.sh (Nautilus Script)
zoom


Downloads:  145
Submitted:  Jun 29 2011
Updated:  Jun 29 2011

Description:

For those who want a very simple method of randomly playing music, here is a nautilus script to make it extremely easy for everybody.

Requires mplayer and nautilus: sudo apt-get install mplayer nautilus

Directions:
- Put this script inside your ~/.gnome/nautilus-scripts folder
- Once inside your nautilus-scripts folder, it can be run one of two ways:
1. - right click any folder, select this script, and it will automatically randomly play any music file inside it
2. - if nothing is selected when running the script, it will default to this script's preset locations (just add the desired paths to your music in the script beforehand for quick access - add as many paths/menu choices as you would like)

Credit also goes to "nothingspecial" and "VH-BIL" for their part in the creation of this.




Changelog:

1.0: Initial Release




LicenseGPL
(Random-Music.sh.tar.gz (1.0))
Send to a friend
Subscribe
Other  Apps  from inameiname
Report inappropriate content



-
.

 !

 
 by ilnanny75 on: Jun 29 2011
 
Score 50%

I like this :D
Thanks for sharing!


Reply to this

-

 Re: !

 
 by inameiname on: Jun 29 2011
 
Score 50%

Sure. Enjoy.


Reply to this

-

 Yes really cool indeed!

 
 by ubuntix07 on: Jun 30 2011
 
Score 50%

Hi!
I just discover this mini-tool and it's just great and simple!
Thks for sharing!


Reply to this

-

 Re: Yes really cool indeed!

 
 by inameiname on: Jul 1 2011
 
Score 50%

You're welcome. That's what I was trying for, nothing special; just something that works.


Reply to this

-

 Re: Re: Yes really cool indeed!

 
 by ubuntix07 on: Jul 1 2011
 
Score 50%

But i don't see how it works with videos!


Reply to this

-

 Re: Re: Re: Yes really cool indeed!

 
 by inameiname on: Jul 2 2011
 
Score 50%

It doesn't. Although, technically, just adding/removing file extensions at the end of it will make it work with videos. Just add 'avi', 'mp4', 'mkv', or whatever and viola, it'll play videos.

And if you want it to play everything Mplayer can play, just remove all of the extensions at the end, and it'll randomly play anything and everything inside a particular folder.


Reply to this

-
.

 Possible?

 
 by obscurant on: Dec 5 2011
 
Score 50%

I have a directory full of subdirectories that have radio shows in them. I'd like to right-click on the directory, and have random subdirectories chosen and their contents played in order of file name. Sort of like a random album, but the songs on the album are played sequentially.

Could this be a possible addition to this script, or is it a ludicrous idea and a waste of time?


Reply to this

-

 Re: Possible?

 
 by inameiname on: Dec 15 2011
 
Score 50%

Sorry it took so long getting back to you...

Anyway, hmmmmmmm.... thinking about it, I can see your request as being a possibility; definitely not a waste of time. I just do not know off-hand exactly how to do that.

Technically, the part of this script that lets you right click a directory and play what is inside it is a single line:

mplayer -loop 0 -quiet -shuffle -playlist <(find -L $ARCHIVE_FULLPATH -type f | egrep -i '(\.mp3|\.wav|\.flac|\.ogg|\.m4a|\.aac|\.mpa|\.mid|\.aif|\.iff|\.m3u|\.ra)')

I am sure with a small tweak here and there it could be made to work the way you want. I will look into it and will let you know if I can get anywhere, but it might take a posting in Ubuntu Forums or something and some help from people far more skilled at bash scripting than myself to figure it out.

Regardless, it would be a good little idea if it could be done.


Reply to this

Add commentBack






-
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About GTK-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2014 GTK-Apps.org Team  
All rights reserved. GTK-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.