| Home | Forums | Register | FAQ | Search | Today's Posts | Mark Forums Read |
|
Welcome to the misticriver forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Linux Bash script to convert m3u to pla
So sorry about my engl.
I made script to convert .M3U play list format to iriver .PLA playlist format. http://demi.wdisk.net/arh/iriver-convert.zip Examples: iriver-convert --if=Le.m3u # convert Le.m3u to Le.m3u.pla iriver-convert --if=Le.m3u --of=Le.pla # convert Le.m3u to Le.pla iriver-convert # help screen |
|
|||
|
Thanks! I would love this script, if I can make it work.
Could you give an example, also explaining the location of your music files? For me, I want to do this:
On my T20, using Fedora Core 5, I tried the line below, but it didn't work: $ ./iriver-convert --if=/home/user/trial1-edit5.m3u --of=/media/T20/Playlists/trial1.pla --mp=/media/T20/ I think my playlist is bad. But it gives many errors such as ./iriver-convert: line 120: recode: command not found ./iriver-convert: line 122: .//media/T20/Playlists/trial1.pla: No such file or directory If you show me an example, especially describing the path in your m3u, and the working directory where you run iriver-convert, I think I can make it work. Also, have you considered PLS format for playlists? .. Fedora Core 5 ships with Rhythmbox, which only exports PLS playlists. (Yes, I know the solution is to install XMMS, and I will do it soon) Here is the PLS standard: http://forums.winamp.com/showthread.php?threadid=65772 thanks again |
|
|||
|
sry about my engl.
1. Mount u iriver. 2. Make play list from the songs on u iriver. ITS IMPORTENT. 3. Save play list on hard drive 4. Runs script For example: mount /dev/sda1 /mnt/iriver ls /mnt/iriver/ music ls /mnt/iriver/music/ Ramstain Enigma xmms /mnt/iriver/music/Enigma/* make playlist save runs script iriver-conver --if=/tmp/tmp.m3u --of=/tmp/new.pla --pl=/mnt/iriver Understend ? |
|
|||
|
|||
|
Hi.. thanks for your help. I got it to work. For other people with FC5, with a UMS T20 player, here's what I did:
open a terminal When you first install the code: # yum install recode (It's in extras, the # means do this as root) When you want to use it: --> Use your preferred software to write a m3u file. (See NOTE below) --> Make sure the m3u file is in the same directory as the iriver-convert script (key point). cd to that directory in your terminal % ./iriver-convert --if=my-playlist.m3u --of=new.pla --mp=/media/T20 % mv new.pla /media/T20/Playlists --> It should work! NOTE--Program to write m3u file Demimurych of course recommends XMMS % yum install xmms xmms-mp3 (xmms-mp3 needs livna repos; search fedorafaq if you don't know what that is) Any other m3u program should work, but I could not get the script to work with a m3u file from easyTAG. *) the m3u uses full path names, like XMMS **) the m3u had only 1 entry, the XMMS m3u had 144, otherwise they seem the same. ***) the script finished, but my T20 said "Link Error The File Does Not Exist!" when I tried to open it Here is the m3u file: #EXTM3U #EXTINF:247,01-The Chieftains-Film Cuts-O'Sullivan's March.MP3 /media/T20/music/chieftains film cuts - irish/01-The Chieftains-Film Cuts-O'Sullivan's March.MP3 Here is the pla file: iriver UMS PLAuick List %\music\chieftains film cuts - irish\01-The Chieftains-Film Cuts-O'Sullivan's March.MP3 Anyway, thanks Demimurych for the script. I am curious if this script will also work for the HDD players.. if 'maybe', I'll look for a linux thread over there to link here.. |
|
|||
|
Quote:
I try to find my eerors and correct script demimurych@mail.ru |