Page 1 of 1
clearing playlist from rc interface
Posted: 18 Jul 2005 15:20
by fireblade
Hi,
Can you tell me how I can clear the playlist or delete some items from the rc interface?
Thank you.
Posted: 19 Feb 2007 12:06
by arend
I have a related problem using VLC 0.8.6 on Intel Mac.
After starting VLC with "-I rc --rc-host localhost:4444" I am able to execute most commands. However, clearing the playlist doesnt work. After giving a "clear" command the telnet session just sort of hangs. It does return a prompt but doesn't repond to commands any longer.
This happens also in local rc mode.
Posted: 30 Mar 2007 15:17
by jonny-blts
same problem with vlc-0.8.6a on a gentoo machine;
start videloan from console: "vlc -I rc"
add a mpeg, and then clear the playlist...
the rc interface seems locked (i have to do a double ctrl-c to quit)
instead vlc 0.8.4a works well
update:
it seems that there is a deadlock in playlist_Clear when called from the rc plugin;
in file: src/playlist/item-ext.c:737
change playlist_LockDelete(...) to playlist_Delete(...)
and works!
Posted: 01 Apr 2007 00:26
by dionoea
Could you check if the bug is still present in the development version?
Posted: 02 Apr 2007 10:33
by jonny-blts
No, it's not present
I downloaded vlc-snapshot-20070331 sources
when i clear the playlist from the rc interface, i get these messages:
Code: Select all
clear
status change: ( new input: udp://@239.10.10.10 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000585] main playlist: stopping playback
clear: returned 0 (no error)
[00000668] main input error: refcount is 1, delaying again (id=668,type=-7)
[00000668] main input error: waited too long, cancelling destruction (id=668,type=-7)
Posted: 02 Apr 2007 23:55
by dionoea
Ok cool
![Smile :)](./images/smilies/icon_smile.gif)
Looks like it disappeared on it's own (as a consequence to some core playlist changes i guess). I'll fix it in the upcoming 0.8.6 bugfix release.
Posted: 03 Apr 2007 00:02
by dionoea