Create Your Own Compilation

Various Gnome Stuff

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

Hi all!
This script is dedicated to all the people, like me, that have a mp3 cd player
in their car.
The idea was born because I found really boring to create a playlist choosing
between giga and giga of mp3.
So, I thought: and if I create automatically a compilation?
Here is the script!
The script work in this way:
starting from a directory used as well for my most played mp3 the script create
a text file containing the mp3 listing.
After that, looping through the list, the script calculate the mp3's size and
the residual project size (setted in the profile file) until the mp3s are all
copied or (in RANDOM order: there's a little random number generator that,
starting from the overall file number, select randomically the mp3 files) the
mp3s' size reaches the project size.
Furthermore, the script checks, when the remaining space is under a certain
threshold, if there's a mp3 which size fits the remaing space on project.
The only dependencies is to install nawk and, of course, edit the profile file,
in order to match your /path/to/mp3/files.
Everyone can modify the scripts! I ask only one thing: please leave me a message
about your modifications.

Happy listening.
Jeex
Last changelog:

9 years ago

14 Nov: switched to Zenity interface (selection e new folder creation)

Added zenity progress bar

Now search, in a given folder, all mp3s, including subdirs.

gixeco

9 years ago

hi Jeex,
thanks really for the tricky ;)

The script is useful, but little cryptic to modify imho, by the way doesn't seem to have any needs to do it.

Thanks, i'll update some other comment as soon as i try in the car :)

Cheers!

Report

C

jeex70

9 years ago

Tnx a lot for the comment!
I'm very glad you like it!
If you have any doubts about it, don't esitate to write to me!
Have a nice day!

Report

9 years ago

14 Nov: switched to Zenity interface (selection e new folder creation)

Added zenity progress bar

Now search, in a given folder, all mp3s, including subdirs.

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
1.4
updated Nov 14 2010
added Oct 29 2009
downloads today
0
page views today 1