I notice that the flac mirror does not mirror any file that is mp3 or m4a (but in the flac section) into the mp3 folders. Is this working as designed?
I notice that the flac mirror does not mirror any file that is mp3 or m4a (but in the flac section) into the mp3 folders. Is this working as designed?
The primary file format of VortexBox is FLAC. This is the only file format it mirrors. Not sure why you would mirror an mp3 to an mp3 anyway.
I understand the requirement. If you have some albums that you only have in mp3 then you need to put them in the flac directory so that you can play them with a squeezebox for example. I also need to have an mp3 mirror for the itunes/ipod users in the house and it would be convenient that when mirroring the flac directory* existing mp3 files in the flac directory were copied to the mp3 mirror. Unless I'm mistaken at the moment the only option is to do this manually* which is no big deal but would be convenient to have the option to do it automatically.
Just copy the mp3 directories and files from /storage/music/flac to /storage/music/mp3. Trivial to do on Windows or a Mac using the VortexBox files share. Also trivial to do directly on the VortexBox using the cp command or the Midnight Commander file manager.
I really don't think a VB GUI interface is needed for this.
To do this manually would take a long time as I have my flac and mp3s all intermixed. I tried some google fu to find the syntax to just copy the files and preserve structure. I'd imagine it's something like cp /files/music/flac/*/*.mp3 /files/music/mp3/ -[name of modifier here to preserve structure] but I am at a loss. Any ideas?
To do what you want to do:
cd /files/music/flac
find . -name '*.mp3' -print | cpio -pmdv /files/music/mp3
rsync is also really good for this.
I would like an automated mirror of the mp3 as well. I have many mp3 in 320kb format and it would be perfect if these were transcoded to mp3 in the quality setting i selected (190).
The manual copying is not convenient, if your library changes you have to do this procedure everytime again.
Is it possible to adapt the mirror script in a way so it first looks for the flac files and when finished it goes on with the mp3 files? I'm not a linux expert but to me it seems not to complicated.
knireis said:
I would like an automated mirror of the mp3 as well. I have many mp3 in 320kb format and it would be perfect if these were transcoded to mp3 in the quality setting i selected (190).
The manual copying is not convenient, if your library changes you have to do this procedure everytime again.
Is it possible to adapt the mirror script in a way so it first looks for the flac files and when finished it goes on with the mp3 files? I'm not a linux expert but to me it seems not to complicated.
Rather than change the FLAC-to-mp3 mirror (it is not an mp3-to-mp3 mirror and never will be), I suggest using lame to downscale your 320kbps mp3s to 190kbps. *This thread discusses how to use lame to change mp3 bitrate:
http://ubuntuforums.org/showth.....p?t=537208
You can also use dBpoweramp on a Windows PC to accomplish this:
http://en.kioskea.net/faq/1208.....ile-in-mp3
iTunes can also do this job:*http://hints.macworld.com/article.php?story=20030215215022754
I think using lame, dBpoweramp, or iTunes is a simpler solution than creating new code in VortexBox to do this.
Writing a new mp3-to-mp3 mirror script with a VB GUI interface would take a fair amount of effort, and I don't think it's high on Andrew's priority list.
Bookmarks