[vlc-devel] Re: Unasked for auto-playing under specific circumstances

Dermot McGahon dermot at dspsrv.com
Thu Dec 22 18:37:48 CET 2005


Extra debugging related to the below. My question is, what in the 
interaction
between the playlist and the rc interface is causing the playlist status 
to be
set to RUNNING even though no play, next, goto commands have been issued?

This only happens when there are items already on the playlist (from SAP
announcements) when the RC interface is initialised.


Dermot.
--



Doesn't autostart i.e normal behaviour:

[00000453] main interface debug: looking for interface module: 2 candidates
[00000442] main playlist debug: playlist status = 0
[00000453] rc interface debug: trying UNIX socket
Remote control interface initialized, `h' for help
[00000028] main module debug: using interface module "rc"
[00000453] main interface debug: interface initialized
[00000453] main interface debug: thread 3041430448 (manager) created at 
priority 0 (src/interface/interface.c:206)
[00000442] main playlist debug: playlist status = 0
[00000442] main playlist debug: playlist status = 0
[00000442] main playlist debug: playlist status = 0
[00000442] main playlist debug: adding playlist item `ITV1 London' ( 
udp://@239.192.35.213:5000 )
[00000442] main playlist debug: adding playlist item `ITV2' ( 
udp://@239.192.36.213:5000 )
[00000442] main playlist debug: adding playlist item `ITV4' ( 
udp://@239.192.37.213:5000 )
[00000442] main playlist debug: playlist status = 0
[00000442] main playlist debug: playlist status = 0
[00000442] main playlist debug: playlist status = 0
[00000442] main playlist debug: playlist status = 0


Autostarts incorrectly:

[00000090] main module debug: using network module "ipv4"
[00000090] main module debug: removing module "ipv4"
[00000442] main playlist debug: adding playlist item `ITV1 London' ( 
udp://@239.192.35.213:5000 )
[00000442] main playlist debug: adding playlist item `ITV2' ( 
udp://@239.192.36.213:5000 )
[00000442] main playlist debug: adding playlist item `ITV4' ( 
udp://@239.192.37.213:5000 )
[00000449] main interface debug: thread 3049900976 (interface) created 
at priority 0 (src/interface/interface.c:221)
[00000442] main playlist debug: playlist status = 0
[00000453] main interface debug: looking for interface module: 2 candidates
[00000453] rc interface debug: trying UNIX socket
Remote control interface initialized, `h' for help
[00000028] main module debug: using interface module "rc"
[00000453] main interface debug: interface initialized
[00000453] main interface debug: thread 3041430448 (manager) created at 
priority 0 (src/interface/interface.c:206)
[00000442] main playlist debug: beginning processing of request
[00000442] main playlist debug: playlist status = 1
[00000442] main playlist debug: processing request
[00000442] main playlist debug: non-view mode request
[00000442] main playlist debug: index: -1
[00000442] main playlist debug: skip flag: 0
[00000442] main playlist debug: goto flag: -1
[00000442] main playlist debug: next item found
[00000442] main playlist debug: creating new input thread
[00000455] main input debug: waiting for thread completion
[00000455] main input debug: `udp://@239.192.35.213:5000' gives access 
`udp' demux `' path `@239.192.35.213:5000'
[00000455] main input debug: creating demux: access='udp' demux='' 
path='@239.192.35.213:5000'


Dermot McGahon wrote:

> Hello,
>
> When a SAP announcement is received before the interface module is 
> initialised,
> we are seeing VLC autoplaying this item. Can somebody help me to 
> deciphe    r why
> this is happening?
>
> The playlist has an item added to it before the rc intf module is 
> initialised. We then
> see an input created. What could be creating that input? The rc 
> interface is listening
> for commands on a socket but none have been sent at this stage.
>
>
>
> Dermot.
> -- 
>
>
>
> [00000189] main module debug: using services_discovery module "sap"
> [00000242] main private debug: thread 55786416 (services_discovery) 
> created at priority 0 (src/playlist/services_discovery.c:72)
> 3403: old priority 0, new priority -5
> [00000240] main playlist debug: adding playlist item `Chapel TV:kids: 
> 8' ( udp://@239.192.3.250:49408 )
> [00000247] main interface debug: looking for interface module: 1 
> candidate
> [00000112] main module debug: using interface module "hotkeys"
> [00000247] main interface debug: interface initialized
> [00000247] main interface debug: thread 66276272 (interface) created 
> at priority 0 (src/interface/interface.c:211)
> [00000249] main interface debug: looking for interface module: 2 
> candidates
> [00000168] main module debug: using interface module "screensaver"
> [00000249] main interface debug: interface initialized
> [00000249] main interface debug: thread 98266032 (interface) created 
> at priority 0 (src/interface/interface.c:211)
> [00000251] main interface debug: looking for interface module: 1 
> candidate
> [00000251] rc interface debug: trying UNIX socket
> Remote control interface initialized, `h' for help
> [00000115] main module debug: using interface module "rc"
> [00000251] main interface debug: interface initialized
> [00000251] main interface debug: thread 76766128 (manager) created at 
> priority 0 (src/interface/interface.c:196)
> [00000240] main playlist debug: creating new input thread
> [00000253] main input debug: waiting for thread completion
> [00000253] main input debug: `udp://@239.192.3.250:49408' gives access 
> `udp' demux `' path `@239.192.3.250:49408'
> [00000253] main input debug: creating demux: access='udp' demux='' 
> path='@239.192.3.250:49408'
> [00000254] main demuxer debug: looking for access_demux module: 0 
> candidates
> [00000254] main demuxer warning: no access_demux module matched "udp"
> [00000253] main input debug: creating access 'udp' 
> path='@239.192.3.250:49408'
>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list