-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
57 lines (37 loc) · 2.04 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
DOWNCODE
Simple script to reencode a library of OGG Vorbis and MP3 file to a smaller
size for use with a space restricted MP3 player, while preserving ID3 tags and
OGG comments.
Please contact me with any comments, suggestions, questions.
James Pharaoh <[email protected]>
INFORMATION
The script is designed to run incrementally, and will detect changes (based on
modification time) and deletions.
Typical usage is as follows:
$ downcode --source music/faves --dest mp3/faves --delete
I imagine you'd write a short shell script to invoke downcode with the right
parameters, possibly multiple times, and simply run it after modifying your
music colleciton, or before syncing to your device.
The script also replaces certain characters which won't work on a FAT file
system.
FUTURE FEATURES
Let me know if anyone is interested in any of these.
* Improved output - I want to clear the screen and show current progress at the
top after each file, with the command output underneath.
* Format change - It would be nice to output all OGG or all MP3, but this makes
the tag handling much more complicated.
* Parallel processing - I have a four core processor, it would be nice to
specify how many of them to use.
* Filters - It should be possible to specify which files to include or exclude
in an interesting way, and so be able to more manage a larger collection.
* More intelligent deleting - It would probably be quite easy to wipe out a
whole directory if you pass the wrong arguments with the --delete option. I
could probably detect and handle this better.
* Other files - Currently any non MP3 or OGG files are simply skipped. Instead
we should have an option to copy them, probably based on extension.
* Filename conversion - My linux filesystem supports characters which my MP3
player doesn't. I substitute only a small number of these, this could be
done better somehow.
* Quality options - The quality of the output is hardcoded. This should be
available as command line options, or maybe a config file.
Please email me with any suggestions.