Rockbox General > Rockbox General Discussion
good linux method for sync'ing music with rockbox directories
gnychis:
first, I never knew about the -u flag for cp, that's very useful thanks
--- Quote from: aj on November 23, 2007, 11:16:09 PM ---I use a bash script I wrote with rsync handling the synchronization part. The relevant code is something like this:
--- Code: ---rsync --delete-after --modify-window=1 -vruLty --exclude=.DS_Store $mediadir $device
--- End code ---
This method will use your music folder as the "master list" and make any necessary additions/deletions on your iPod.
--- End quote ---
and this method is awesome, thank you too :)
wildertux:
will this thread little bit update ;D
sorry for my bad english!
it is useless to use:
--- Code: ---mp3gain */*.mp3
--- End code ---
that will say all files are the same Album :-\
for mp3gain i use:
--- Code: ---find "<MUSICDIR>" -type d | while read dir; do mp3gain -T -d 3 -s i "$dir"/*.[mM][pP]3;done
--- End code ---
this search any subfolder(Album,Collection,single,VA-Album), and starts for any subfolder the mp3gain!
mp3gain -T (change tag directly, without temp-files) -d 3 (use 89+3=92db) -s i (writes only id3v2Tags)!
I only use mp3 but you can add gain-command for other formats!
Attention a problem is:
mp3gain can use wrong tagformat, that can be result in a damaged tag! :o
i use for mp3's tag only v2.4 with UTF8, no problems, but easytag will update tags after mp3gain usage!
you should create a testfolder and or a backup!
append:
i have test more with linux-mp3gain:
mp3gain everytime damage the id3v2 tag, the problem is two RVA tags that in wrong format!
other software can not read or will change entrys, but thats results in bigger problems like AlbumArt kill! :o
the only other alternate are foobar2000 under wine, but thats instable and not Batch-mode!
will search for other Method, so long!
wildertux:
mp3gain is dead :)
sorry for my bad english
aacgain is now standard, but its only gain not replaygain!
and what should i do with my old mp3files with mp3gain damaged id3v2.4:
not usable:
* Perl -> only Audio::Scan can read correct, but not write!
* EyeD3 ->has a update function, but this kills Cover Album Arts
usable:
* EasyTag GUI Software -> and change one Frame(Copyright=easytagupdate) on all files to force
correct the id3v2.4, but than you have an entry in all files, and it will be cost much time!
* Kid3 GUI Software but it is the same problem like EasyTag!
* write a little python script, that use mutagen, only read tag and then write tag! voila is corrected!
Code will be updated!
--- Code: ---#!/usr/bin/env python
import mutagen
from mutagen.easyid3 import EasyID3
audio = EasyID3("example.mp3")
audio.save()
--- End code ---
to install mutagen i have use "pip",you can use easy_install from py-setup-tools too, or
package-Manager like synaptic!
so long
Navigation
[0] Message Index
[*] Previous page
Go to full version