You are not logged in.
Pages: 1
Hi!
I have made a playlist with "find * | grep -i ".mp3 > playlist". MPlayer can play it but not the XMMS2.
Is it a way to convert it to a normal playlist that can be played by XMMS2?
Last edited by Andy_Crowd (2014-04-22 21:45:57)
Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.
Offline
Maybe try to add the file ending .m3u
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Not working ![]()
I am using command line for so many apps as possible or making own scripts for automation.
Last edited by Andy_Crowd (2014-04-22 19:48:18)
Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.
Offline
Not working
How so ? any errors that xmms2 gives you ?
m3u is a standard playlist extension and I do believe XMMS2 is capable of playing it. Also edit the playlist and see if the correct paths for the songs are recorded in the playlist file.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
no errors, it just not showing in play list.
xmms2 add playlist
#if I am using "-p" then it shows the errors but without "-p" no errors but shows nothing
#when using "xmms2 list" ... is nothing to play
xmms2 add -p playlist
Error: Could not retrieve collection playlist.
Error: you must provide a pattern or files to add!#is working fine both of them for "mplayer"
find $(pwd) | grep -i ".mp3" > playlist
#or
find * | grep -i ".mp3" > playlist
mplayer -playlist playlistLast edited by Andy_Crowd (2014-04-22 20:34:06)
Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.
Offline
Offline
What is in playlist? Please paste an excerpt.
Offline
It looks like a simple list of files made by find and grep:
$cat playlist
/home/andy/Documents/Music/Jolin Tsai/蔡依林 美人計- 華納official HQ官方版MV.mp3MPlayer can play it but not XMMS2 ![]()
btw Jolin Tsai is an OP singer
Last edited by Andy_Crowd (2014-04-27 14:12:07)
Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.
Offline
"xmms2 add -p foo bar1 bar2" means that you want to add all following files (bar1, bar2) to the xmms2-collection named foo.
I believe you want "xmms2 add -P foo" to force xmms2 to treat the filenames as playlists. In this case, add all files mentioned in "foo" to your current queue.
Edit: You should really add the file ending ".m3u" to your file so that xmms2 can recognize it as m3u playlist.
Last edited by progandy (2014-04-22 21:03:22)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Not working ![]()
xmms2 add -P playlist
Server error: We can't handle this type of playlist or URLHelp to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.
Offline
Sorry I can't help with the main issue - but there is really no reason to use find + grep.
find -iname *.mp3 > your_listfileEDIT: also, would you mind revising the title of this thread? I'd suggest adding XMMS (or xmms2 ?) as I came here not knowing this was about a program I have no experience with.
Last edited by Trilby (2014-04-22 21:34:55)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I say it a third and last time. Add the file ending .m3u.
progandy@pamobile ~/Musik/Noir OST 1 % xmms2 list
Total playtime: 0:00:00
progandy@pamobile ~/Musik/Noir OST 1 % find * -iname '*.mp3' >playlist.m3u
progandy@pamobile ~/Musik/Noir OST 1 % xmms2 add -P playlist.m3u
progandy@pamobile ~/Musik/Noir OST 1 % xmms2 list
[1/18] Yuki Kajiura - Coppeira no Hitsugi (03:59)
...
Total playtime: 0:55:36Last edited by progandy (2014-04-22 21:20:07)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Ok. Thank you!
I found the BUG in the XMMS2 now ![]()
It cannot play if the song begins with chinese "蔡依林-什麼樣的愛.mp3" but can add and play if "Jolin Tsai - 愛無赦" begins with english... strange... but look like a bug.
I have tested it twice now... the same BUG, must report it then...
Thanks for your great help!
Here is examples:
Here is a mix with chinese and english song names begins
find -iname "*.mp3" > A.m3u
xmms2 add -P A.m3u
xmms2 list
Total playtime: 0:00:00Songs with only english name begins
find -iname "J*.mp3" > B.m3u
xmms2 add -P B.m3u
xmm2 list
[1/121] - Jolin Tsai - songname.mp3 (04:43)Songs with only chinese name begins
find -iname "蔡依林*.mp3" > C.m3u
xmms2 add -P C.m3u
xmms2 list
Total playtime: 0:00:00This working good with adding of both english and/or chinese song names:
xmms2 add *.mp3Last edited by Andy_Crowd (2014-04-27 14:13:03)
Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.
Offline
Pages: 1