Sign up here and you can log into the forum!

Custom UMSP plugin

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

Custom UMSP plugin   

Postby mokujin » Sat Jan 10, 2015 1:33 pm

Hello,
I just installed WDLXTV on my Gen3. I know basic of PHP, but could not understand all of your tutorials for making a custom plugin.
Let's say: I have this URL http://embed.sohatv.vn/?__c=vtv4
how could I add to UMSP plugin to watch on my WD TV?
Thank you :-)

Edit:
I created this file conf/umsp.php and it's not supported file.

Code: Select all
<?php

global $myMediaItems;

$myMediaItems[] = array(   
'id'         => 'umsp://plugins/vtv4/vtv4',   #Attribute of item
'dc:title'      => 'VTV4',
'upnp:class'   => 'object.item.videoItem',
'upnp:album_art'=> 'http://upload.wikimedia.org/wikipedia/vi/b/b9/Logo_VTV4.png',
'res' => 'http://embed.sohatv.vn/?__c=vtv4',
);

?>
mokujin
n00b
 
Posts: 2
Joined: Thu Nov 06, 2014 12:55 pm

Re: Custom UMSP plugin   

Postby mad_ady » Sat Jan 10, 2015 10:01 pm

User avatar
mad_ady
Developer
 
Posts: 4522
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Custom UMSP plugin   

Postby mokujin » Wed Jan 14, 2015 1:15 pm

No luck, I could not define what's wrong with my plugin :-)
mokujin
n00b
 
Posts: 2
Joined: Thu Nov 06, 2014 12:55 pm

Re: Custom UMSP plugin   

Postby mad_ady » Wed Jan 14, 2015 11:23 pm

I've looked into the link, but it's not a link directly to media. It loads a player that loads a m3u8 playlist. I think you should try DJArty's IPTV plugin - as far as I know it can play m3u8 links: http://123.30.170.69/vtv4.m3u8
User avatar
mad_ady
Developer
 
Posts: 4522
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania


Return to UMSP Media Server

Who is online

Users browsing this forum: No registered users and 1 guest