[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4326: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4328: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4329: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4330: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
forum.wdlxtv.com • AVRemote 0.4.1
Page 1 of 5

AVRemote 0.4.1

PostPosted: Fri Apr 15, 2011 8:31 am
by jaromil

Re: AVRemote 0.1

PostPosted: Sat Apr 16, 2011 2:41 am
by recliq
This looks nice, going to test it later today.

Thanks for another neat app!

I'm curious if this is noticable faster than upnp-cmd... ;)

Re: AVRemote 0.1

PostPosted: Sat Apr 16, 2011 3:29 am
by jaromil
Cheers recliq

you'll see speed is there 8-) mostly because execution of a small binary with no library dependencies and compiled from C is taking way less time to fire up than a php-cli interpreter on a script.
For HDSync i need even more responsiveness to achieve synced playback on multiple players: for that i think i'll use the good ol' play/pause/play trick inside the same C code, so there is no reopening of a tcp socket, which is also a bottleneck.

All in all I have no big plans for AVRemote, but I'm happy to maintain it and integrate fixes, maybe even make it into a library so that people can embed it in other software.
One more thing I'd love to see in it is the possibility to load stream URIs: hints on code/scripts to generate valid meta tags for their AVTransportURI is very welcome.
Also I did not manage to make Seek work, not even using upnp-cmd: again clues are very welcome, I've seen a plugin MediaControl2 which can do seek but still need to look into its code.

At last by testing AVRemote I've finally understood how to make UPNP commands work from start: just kill dmaosd :twisted:
Maybe you knew this already, yet it took me a while to realize how to get rid of that. Now i guess my Invisible OSD is obsolete.

p.s. for your testing convenience i'm uploading just now a MIPSel binary to be run from a shell on the WDLXTV, you'll find it on the FTP repository.

Re: AVRemote 0.1

PostPosted: Sat Apr 16, 2011 4:31 am
by recliq
I get a 403 Forbidden on the binary...

As for your problems with playing files when dmaosd is running...
You have to set metainfo for movies to get played in foreground. Have a look at upnp-meta script.

PS: Haven't had a look at your code yet, if you already do this ignore this comment ;)

PPS: regarding the seek problem, have you tried experimenting with different ip for sending requests? sometimes it can make a difference if the reqest is sent from 127.0.0.1 (localhost) or actual network ip... (also just a guess)

Re: AVRemote 0.1

PostPosted: Sat Apr 16, 2011 5:06 am
by jaromil
re: metainfo - yes i do that already using the UPNP_META_FORMAT template you see in http://code.dyne.org/index.cgi?url=avremote/tree/src/avremote.h which is coming from upnp-meta indeed. still the OSD won't go away and the movie will play in background. FWIW I've noticed that, if I play a video using the remote right after boot, subsequent UPNP play commands will make the OSD go away. however this is just to mention the issue, it doesn't affects me at all since i simply want no OSD at all.

re: seek yes i've tried both from localhost and remote

Re: AVRemote 0.1

PostPosted: Sat Apr 16, 2011 5:27 am
by recliq

Re: AVRemote 0.2

PostPosted: Tue Apr 19, 2011 2:29 am
by jaromil
Patch included, thanks 8-)

a new 0.2 release is out which also adds support for auto-detection of UPNP AVTransport devices present on the same network (using miniupnpc); a MIPS binary is provided on FTP at your convenience.

ciao

Re: AVRemote 0.2

PostPosted: Tue Apr 19, 2011 3:20 am
by recliq
i found another issue when playing around with this tool.
It seems to not set meta info correctly, i played around with it and it seems that the whole meta info
(<DIDL ... </DIDL>) needs to be html encoded... (< = &lt;, > = &gt;, " = &quot;)

Re: AVRemote 0.2

PostPosted: Tue Apr 19, 2011 3:46 am
by jaromil

Re: AVRemote 0.2

PostPosted: Tue Apr 19, 2011 4:41 am
by recliq
Well I came to this conclusion when i compared the console output via serial (from DMAOSD, etc..)of avremote load and upnp-cmd SetAVTransportURI.

I don't have access to my wd right now, but i will post some more info on this the next days...