News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

$$$ NEED TO BE ABLE TO LOOP/REPEAT VIDEO AND/OR PLAYLISTS

Started by Tommy, September 18, 2008, 05:04:01 PM

Previous topic - Next topic

Tommy

I need to be able to loop / repeat a video and/or a playlist, played locally or streamed to other MDs'.

Is it possible and if it is what will it cost?



colinjones

Playlists (stored or created ad hoc) loop anyway.

Create a playlist and put your media in it then select it for play wherever you want. When it gets to the end of the last media file it should go straight back to the beginning again.

Tommy

Thanks for the reply, I wish that was the case. Audio Playlist loop just fine but Video Playlists DON'T.
Any Suggestions??


Tommy

Just for some more info.

If I tail the Xine log file while playing a Audio playlist I never get a "CMD_Stop_Media()" command. When I play a Video playlist after the last entry it gives me a "CMD_Stop_Media()"

Audio log
"Xine_Player::EVENT_Playback_Completed(streamID=1004) <0x4680c950>
    Xine_Player::CMD_Play_Media() called for id 1004 filename: /home/public/data/audio/test1.wav () <0x41001950>
    Xine_Player::CMD_Play_Media() stopping PSS <0x41001950>
    Xine_Player::CMD_Play_Media() set stream 1004 as last rendering to screen. <0x41001950>
    Xine_Player::CMD_Play_Media() called for id 1004 filename: /home/public/data/audio/"

Video log
".894    Xine_Stream::changePlaybackSpeed no running seekers found <0x45009950>
.894    Xine_Player::EVENT_Playback_Completed(streamID=1003) <0x45009950>

.895    Xine_Player::CMD_Stop_Media() with corresponding stream id 1003 0xbbf750. <0x41001950>
.895    Xine_Stream::changePlaybackSpeed no running seekers found <0x41001950>
.895    Xine_Player::EVENT_Playback_Completed(streamID=1003) <0x41001950>
.954    XineStreamEventListener called on non-initialized stream - aborting command <0x45009950>
.987    Closed stream AV with ID=1003 <0x41001950>"





bulek

Quote from: Tommy on September 19, 2008, 10:00:31 AM
Just for some more info.

If I tail the Xine log file while playing a Audio playlist I never get a "CMD_Stop_Media()" command. When I play a Video playlist after the last entry it gives me a "CMD_Stop_Media()"

Audio log
"Xine_Player::EVENT_Playback_Completed(streamID=1004) <0x4680c950>
    Xine_Player::CMD_Play_Media() called for id 1004 filename: /home/public/data/audio/test1.wav () <0x41001950>
    Xine_Player::CMD_Play_Media() stopping PSS <0x41001950>
    Xine_Player::CMD_Play_Media() set stream 1004 as last rendering to screen. <0x41001950>
    Xine_Player::CMD_Play_Media() called for id 1004 filename: /home/public/data/audio/"

Video log
".894    Xine_Stream::changePlaybackSpeed no running seekers found <0x45009950>
.894    Xine_Player::EVENT_Playback_Completed(streamID=1003) <0x45009950>

.895    Xine_Player::CMD_Stop_Media() with corresponding stream id 1003 0xbbf750. <0x41001950>
.895    Xine_Stream::changePlaybackSpeed no running seekers found <0x41001950>
.895    Xine_Player::EVENT_Playback_Completed(streamID=1003) <0x41001950>
.954    XineStreamEventListener called on non-initialized stream - aborting command <0x45009950>
.987    Closed stream AV with ID=1003 <0x41001950>"





Hi,

just guessing: maybe you can wait for that command and start all over again with event handler ?

Regards,

Bulek.
Thanks in advance,

regards,

Bulek.

colinjones

I'm assuming that the Media Plugin is responsible for sending these messages to control exactly how a play list plays. I'm sure the other guys can correct this. But if son then I presume that you could modify the source of that plugin so that it wraps and recompile it...

Tommy

Thanks again for the feedback, but when you say "I'm sure the other guys can correct this", what guys are you talking about?
Who would I need to contact?

hari

you can contact the community devs or CHT.

best regards,
Hari

ps: i'd also try bulek's suggestion first
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

Tommy

Thanks

Tried Bulek suggestion with no joy, I'm probably doing it wrong.

hari

I'm already under contract so I'm not allowed do that kind of jobs. You may want to ask tschak..

best regards,
Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

Tommy

Thanks Hari I'll try tschak, but he told me it was not possible.

hari

Quote from: Tommy on September 20, 2008, 12:42:05 PM
Thanks Hari I'll try tschak, but he told me it was not possible.
i'm sure he said that is not possible to do at the moment. This can be done with some coding work. How much money did you offer to him *lol*

br, Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

Tommy

I would like to know how much he wants, can you make a suggestion?

hari

Quote from: Tommy on September 20, 2008, 01:47:27 PM
I would like to know how much he wants, can you make a suggestion?
no, i cannot suggest how much he wants :-) You have to ask him..
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

Tommy

Hari, is there anybody else I could try besides TSCHAK, He seems very busy and I just don't seem to be able to get hold of him. I think I'm annoying him by asking about the same thing over and over.