Sign up here and you can log into the forum!

UMSP Plugin Development

Discussion, features, plugins--everything about zoster's UMSP UPnP Media Server software

Re: UMSP Plugin Development   

Postby DJArty » Thu Nov 17, 2011 11:23 pm

Another one...
Any method to change track name, autor, genre etc.. on the fly while track is play?
Something like upnp-cmd Set... but without restarting play, only change displayed info on the fly.
WD TV Live (1.02.21-WDLXTV-0.4.7.3);
Please Donate PayPal to email: djartyua ( a t ) gmail (d o t) com
WebMoney: WMZ114867333413; WMU219453404899; WMR161810775332
User avatar
DJArty
Developer
 
Posts: 540
Joined: Wed Jul 21, 2010 2:30 am
Location: Ukraine

Re: UMSP Plugin Development   

Postby KAD » Fri Nov 18, 2011 8:55 am

that would certainly be of interest to me as well, but I can't think of way to do it without wdtvext

like you've already seen even if a replacement xml was bound on top of an existing one, dmaosd will not refresh that screen and use the new xml till the screen is left and entered again

you can try generating upnp meta but I don't think it will work

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: UMSP Plugin Development   

Postby DJArty » Sun Nov 20, 2011 1:57 pm

Ok. Now need push metadata (genre, artuist, even filename) via DLNA/UPnP to DMAOSD without restarting play... Is it posible?
WD TV Live (1.02.21-WDLXTV-0.4.7.3);
Please Donate PayPal to email: djartyua ( a t ) gmail (d o t) com
WebMoney: WMZ114867333413; WMU219453404899; WMR161810775332
User avatar
DJArty
Developer
 
Posts: 540
Joined: Wed Jul 21, 2010 2:30 am
Location: Ukraine

Re: UMSP Plugin Development   

Postby recliq » Sun Nov 20, 2011 5:37 pm

I don't think so :/
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: UMSP Plugin Development   

Postby avkiev » Mon Dec 12, 2011 5:37 am

Is it possible to change icon for UMSP-container in list-mode ?

There is example of such screen: http://imageshack.us/photo/my-images/121/dscf4677.jpg/

Smth like field 'upnp:album_art'
But for list-mode, not for thumb-mode
avkiev
Developer
 
Posts: 167
Joined: Tue Apr 27, 2010 5:02 am
Location: Ukraine, Kiev

Re: UMSP Plugin Development   

Postby recliq » Mon Dec 12, 2011 5:46 am

No not possible afaik, if this can be done atall you would have to modify the XML file to use the thumb instead of the default images, but I doubt that dmaosd will populate those in list view.
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: UMSP Plugin Development   

Postby DJArty » Tue Dec 13, 2011 11:16 pm

Hi!
Magic "'2:10:20" time limit.. Is it hardcoded anywhere in umsp engine?
Have some strange trouble with my IPTV plugin.
It's stopped (freeze) on ~ 2 hours 10 min from start on one streaming channel (continuously playing)
(Freeze looks like apache problem then fpassthru via local ..proxy.php)

Before coming 0.4.7.3 version and ...._wec.php, info.php mechanism I've seen strings like this
Code: Select all
$myMediaItems[] = array(
.....
'upnp:album' => 'myAlbum',
   'upnp:genre' => 'myGenre',
   'upnp:length'   => '2:10:20',
....

for any plugins described in /conf/umsp.php

Now in 0.4.7.3 and 0.5.x.x there is no need to create this strings and /conf/umsp.php but need ..._wec.php, info.php
So may be 2:10:20 now hardcoded in umsp? Where?

P.S. and some interesting thing..
In old version of iptv plugin 'upnp:length' => '2:10:20', was exist in /conf/upnp.php and can continuously playing more then 24 hours (people says).
In new version no /conf/upnp.php but info.php exist without record about "upnp:length" and its stuck after ~2 hours.
So may be on the contrary I need to force describe 'upnp:length' => '2:10:20' ? but there and how correct?
WD TV Live (1.02.21-WDLXTV-0.4.7.3);
Please Donate PayPal to email: djartyua ( a t ) gmail (d o t) com
WebMoney: WMZ114867333413; WMU219453404899; WMR161810775332
User avatar
DJArty
Developer
 
Posts: 540
Joined: Wed Jul 21, 2010 2:30 am
Location: Ukraine

Re: UMSP Plugin Development   

Postby mad_ady » Wed Dec 14, 2011 6:56 am

I don't think the upnp:length parameter is set anywhere by default. Anyway, you should be able to override it in your $retMediaItems, just to be sure.

As far as I know, for live streams the proxy needs to send back a Content-Length HTTP parameter that is usually set to some value (1GB). The media player analysis the data stream, and knowing it will receive only 1GB will only play back up until that limit.
It's possible that with this limit you get only 2 hours of playback....
User avatar
mad_ady
Developer
 
Posts: 4532
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: UMSP Plugin Development   

Postby shunte » Wed Dec 14, 2011 8:03 am

your right on the money Ady, I messed round wit duration and length when putting together several of the experimental plug-ins but that had zero effect, the only thing that gets things moving is the content-length and its set to an arbitrary CYA value of 1 or 2 GiB

@DJArty bump up the value in the proxy, or take a break and restart your session

BTW, all the entries in conf/umsp.php where pretty much junkers/placeholder examples, and mostly commented for that matter; and I can't see how any of those entries could cross pollinate into a live entry unless they where blindly copied into other folks plug-ins - now that just wouldn't make sense now would it given we, mostly, put a minimum amount of thought and effort into what we're building :mrgreen: !
If you like the work I do please feel free to make a donation to the Red Cross
User avatar
shunte
Developer
 
Posts: 420
Joined: Sun Sep 19, 2010 1:43 am
Location: Cambridge, MA U. S. and A.

Re: UMSP Plugin Development   

Postby DJArty » Sun Apr 21, 2013 12:17 pm

Looks like fresh svn trunk version 1.05.04 - 0.5.1.1 very sensitive to "&" sign in address field of UMSP plugins... On 1.02.24-0.4.7.3 f/w all work good, on 1.05.04-0.5.1.1 f/w from snv see "Empty folder" mess, In umsp-tesp.php all looks good in both versions..
Is it "future" or "bug"?
Example .../umsp/umsp-test.php?plugin=plugin_name&url=http://some.url&level=logos&somekey=key .....
looks like only first "&" accepted normally but other make "empty folder" on WD screen, but normal view on umsp-test.php (and on 1.02.21 screen)
Or may be its "id" related problem for new ver. of UMSP from svn?
WD TV Live (1.02.21-WDLXTV-0.4.7.3);
Please Donate PayPal to email: djartyua ( a t ) gmail (d o t) com
WebMoney: WMZ114867333413; WMU219453404899; WMR161810775332
User avatar
DJArty
Developer
 
Posts: 540
Joined: Wed Jul 21, 2010 2:30 am
Location: Ukraine

PreviousNext

Return to UMSP Media Server

Who is online

Users browsing this forum: No registered users and 1 guest