You are not logged in.

#1 2014-04-22 19:30:04

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

[SOLVED]playlist - XMMS2 got a bug

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

#2 2014-04-22 19:39:56

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED]playlist - XMMS2 got a bug

Maybe try to add the file ending .m3u


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2014-04-22 19:46:40

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED]playlist - XMMS2 got a bug

Not working sad
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

#4 2014-04-22 19:49:13

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]playlist - XMMS2 got a bug

Andy_Crowd wrote:

Not working sad

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.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2014-04-22 20:24:01

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED]playlist - XMMS2 got a bug

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 playlist

Last 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

#6 2014-04-22 20:33:17

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED]playlist - XMMS2 got a bug

Can you post the contents of your playlist.m3u file.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#7 2014-04-22 20:34:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]playlist - XMMS2 got a bug

What is in playlist? Please paste an excerpt.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2014-04-22 20:37:05

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED]playlist - XMMS2 got a bug

It looks like a simple list of files made by find and grep:

$cat playlist
/home/andy/Documents/Music/Jolin Tsai/蔡依林 美人計- 華納official HQ官方版MV.mp3

MPlayer can play it but not XMMS2 sad

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

#9 2014-04-22 20:59:52

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED]playlist - XMMS2 got a bug

"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

#10 2014-04-22 21:04:17

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED]playlist - XMMS2 got a bug

Not working hmm

xmms2 add -P playlist
Server error: We can't handle this type of playlist or URL

Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#11 2014-04-22 21:05:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]playlist - XMMS2 got a bug

Sorry I can't help with the main issue - but there is really no reason to use find + grep.

find -iname *.mp3 > your_listfile

EDIT: 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

#12 2014-04-22 21:18:08

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED]playlist - XMMS2 got a bug

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:36

Last edited by progandy (2014-04-22 21:20:07)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#13 2014-04-22 21:43:20

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED]playlist - XMMS2 got a bug

Ok. Thank you!
I found the BUG in the XMMS2 now big_smile
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:00

Songs 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:00

This working good with adding of both english and/or chinese song names:

xmms2 add *.mp3

Last 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

Board footer

Powered by FluxBB