[Feature Requests] Network Encoders and XMLTV guide import

@elan said:
When I have a chance I’ll download the XMLTV you guys posted and make sure it works :slight_smile: Like I said, I only had a chance to try it with a single file…

No hurry! … its a beta/easteregg! - but thanks =)

@mm98 said:
@karbowiak I don’t think your channels numbers matches mine :smiley: … but does this give you an populated Program Guide ?

We should call this thread “Tips, tricks and Hacks for DVR” :smiley:

Nah, YouSee differs from every part of the country for some reason - eventho you’d think they’d use the same channel numbering everywhere.

I ended up with a monster like: https://192.168.1.2:32400/media/grabbers/devices/1/channelmap?channelsEnabled=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,37,38,39,41,49,50,51,52,55,63,65,66,73,80,81,84,85,87,88,89,90,91,92,93,94,95,96,97,99,100,119,216,225,238,240,278,302&channelMapping[1]=001&channelMapping[2]=002&channelMapping[3]=003&channelMapping[4]=004&channelMapping[5]=005&channelMapping[6]=006&channelMapping[7]=007&channelMapping[8]=008&channelMapping[9]=009&channelMapping[10]=010&channelMapping[11]=011&channelMapping[12]=012&channelMapping[13]=013&channelMapping[14]=014&channelMapping[15]=015&channelMapping[16]=016&channelMapping[17]=017&channelMapping[18]=018&channelMapping[19]=019&channelMapping[20]=020&channelMapping[21]=021&channelMapping[22]=022&channelMapping[23]=023&channelMapping[24]=024&channelMapping[25]=025&channelMapping[26]=026&channelMapping[27]=027&channelMapping[28]=028&channelMapping[29]=029&channelMapping[30]=030&channelMapping[31]=031&channelMapping[32]=032&channelMapping[33]=033&channelMapping[34]=034&channelMapping[35]=035&channelMapping[37]=037&channelMapping[38]=038&channelMapping[39]=039&channelMapping[41]=041&channelMapping[49]=049&channelMapping[50]=050&channelMapping[51]=051&channelMapping[52]=052&channelMapping[55]=055&channelMapping[63]=063&channelMapping[65]=065&channelMapping[66]=066&channelMapping[73]=073&channelMapping[80]=080&channelMapping[81]=081&channelMapping[84]=084&channelMapping[85]=085&channelMapping[87]=087&channelMapping[88]=088&channelMapping[89]=089&channelMapping[90]=090&channelMapping[91]=091&channelMapping[92]=092&channelMapping[93]=093&channelMapping[94]=094&channelMapping[95]=095&channelMapping[96]=096&channelMapping[97]=097&channelMapping[99]=099&channelMapping[100]=100&channelMapping[119]=119&channelMapping[216]=216&channelMapping[225]=225&channelMapping[238]=238&channelMapping[240]=240&channelMapping[278]=278&channelMapping[302]=302

Maps all the channels i have, minus a few that ain’t needed.

@elan said:
When I have a chance I’ll download the XMLTV you guys posted and make sure it works :slight_smile: Like I said, I only had a chance to try it with a single file…

Coolio! Looking forward to hearing your results :smiley:

@karbowiak said:

Wow! :smiley:

I’ve noticed that the XML response from http://qnap:32400/livetv/dvrs?device=device:// … is skipping channels numbers. It skipped 12 channel numbers here.

@mm98 said:

@karbowiak said:

Wow! :smiley:

I’ve noticed that the XML response from http://qnap:32400/livetv/dvrs?device=device:// … is skipping channels numbers. It skipped 12 channel numbers here.

Hence the put request before the post - that apparently fixes it. Little weird that the list of channels wasn’t just in the post, but, yeah, beta :stuck_out_tongue:

You should be able to enable the channels via the web UI too, I would hope.

@elan said:
You should be able to enable the channels via the web UI too, I would hope.

That was also my guess (since they are pulled from the hdhomerun) … but the initial config is skipping channels (deviceIdentifier: 11, 16, 17, 18, 58 etc). Which means they are not available in the UI.

NOTE: using HDHomeRun EXPAND (HDHR3-4DC)

        <ChannelMapping deviceIdentifier="1" enabled="1" lineupIdentifier="001" />
        <ChannelMapping deviceIdentifier="2" enabled="1" lineupIdentifier="002" />
        <ChannelMapping deviceIdentifier="3" enabled="1" lineupIdentifier="003" />
        <ChannelMapping deviceIdentifier="4" enabled="1" lineupIdentifier="033" />
        <ChannelMapping deviceIdentifier="5" enabled="1" lineupIdentifier="023" />
        <ChannelMapping deviceIdentifier="6" enabled="1" lineupIdentifier="029" />
        <ChannelMapping deviceIdentifier="7" enabled="1" lineupIdentifier="032" />
        <ChannelMapping deviceIdentifier="8" enabled="0" lineupIdentifier="008" />
        <ChannelMapping deviceIdentifier="9" enabled="0" lineupIdentifier="009" />
        <ChannelMapping deviceIdentifier="10" enabled="0" lineupIdentifier="010" />
        <ChannelMapping deviceIdentifier="12" enabled="1" lineupIdentifier="085" />
        <ChannelMapping deviceIdentifier="13" enabled="1" lineupIdentifier="086" />
        <ChannelMapping deviceIdentifier="14" enabled="1" lineupIdentifier="087" />
        <ChannelMapping deviceIdentifier="15" enabled="1" lineupIdentifier="088" />
        <ChannelMapping deviceIdentifier="20" enabled="1" lineupIdentifier="083" />
        <ChannelMapping deviceIdentifier="23" enabled="0" lineupIdentifier="023" />
        <ChannelMapping deviceIdentifier="27" enabled="1" lineupIdentifier="005" />
        <ChannelMapping deviceIdentifier="28" enabled="1" lineupIdentifier="004" />
        <ChannelMapping deviceIdentifier="29" enabled="1" lineupIdentifier="006" />
        <ChannelMapping deviceIdentifier="30" enabled="1" lineupIdentifier="012" />
        <ChannelMapping deviceIdentifier="32" enabled="1" lineupIdentifier="009" />
        <ChannelMapping deviceIdentifier="33" enabled="1" lineupIdentifier="019" />
        <ChannelMapping deviceIdentifier="35" enabled="1" lineupIdentifier="054" />
        <ChannelMapping deviceIdentifier="36" enabled="0" lineupIdentifier="036" />
        <ChannelMapping deviceIdentifier="37" enabled="0" lineupIdentifier="037" />
        <ChannelMapping deviceIdentifier="38" enabled="1" lineupIdentifier="081" />
        <ChannelMapping deviceIdentifier="39" enabled="1" lineupIdentifier="082" />
        <ChannelMapping deviceIdentifier="40" enabled="0" lineupIdentifier="040" />
        <ChannelMapping deviceIdentifier="41" enabled="1" lineupIdentifier="041" />
        <ChannelMapping deviceIdentifier="42" enabled="1" lineupIdentifier="030" />
        <ChannelMapping deviceIdentifier="45" enabled="1" lineupIdentifier="008" />
        <ChannelMapping deviceIdentifier="46" enabled="1" lineupIdentifier="010" />
        <ChannelMapping deviceIdentifier="48" enabled="1" lineupIdentifier="048" />
        <ChannelMapping deviceIdentifier="53" enabled="1" lineupIdentifier="021" />
        <ChannelMapping deviceIdentifier="55" enabled="1" lineupIdentifier="055" />
        <ChannelMapping deviceIdentifier="56" enabled="1" lineupIdentifier="056" />
        <ChannelMapping deviceIdentifier="57" enabled="1" lineupIdentifier="018" />
        <ChannelMapping deviceIdentifier="59" enabled="1" lineupIdentifier="020" />
        <ChannelMapping deviceIdentifier="90" enabled="0" lineupIdentifier="090" />
        <ChannelMapping deviceIdentifier="91" enabled="0" lineupIdentifier="091" />
        <ChannelMapping deviceIdentifier="95" enabled="0" lineupIdentifier="095" />

@elan said:
You should be able to enable the channels via the web UI too, I would hope.

Sadly no, if the POST is done without a PUT that defines the channels to enable, it only enables a handful of them - and the ones not enabled, isn’t visible in the UI.

In my original case it added 28 channels, i could freely enable/disable those, but the rest (50ish channels) wasn’t even visible in the UI

Ah, that’s right, I think we default to not enabling channels unless we’re told to by that initial POST.

@elan said:
Ah, that’s right, I think we default to not enabling channels unless we’re told to by that initial POST.

Wouldn’t it be “smarter” to enable all by default, and let the user make that decision/selection in the UI? Less questions you guys have to answer :smiley:

@mm98 said:

@elan said:
Ah, that’s right, I think we default to not enabling channels unless we’re told to by that initial POST.

Wouldn’t it be “smarter” to enable all by default, and let the user make that decision/selection in the UI?

Atleast for XMLTV users it would make more sense, since we have to manually map data afterwards anyway :stuck_out_tongue:

And another “small” request when we are at it … please make the channel dropdown’s searchable. It is really hard to find the correct channel by scrolling (with a list of 200 channels with the channel number prefixed). Would be much easier by search.

@mm98 said:
And another “small” request when we are at it … please make the channel dropdown’s searchable. It is really hard to find the correct channel by scrolling (with a list of 200 channels with the channel number prefixed). Would be much easier by search.

xml:

display in dropdown: TV2 FRI (xmlid: fri.tv2.dk)

For example :slight_smile:

Had a chance to look it over @elan ? :slight_smile:

Have had a couple of days of all-day meetings, sadly. Will have a chance to look over this weekend, got a nice fun list of things to fix/look at :slight_smile:

Don’t worry, we’ll get it working!

@karbowiak ~ what OS are you using? Thinking maybe I can pass you over a few test builds.

@elan said:
@karbowiak ~ what OS are you using? Thinking maybe I can pass you over a few test builds.

Debian Jessie, but i’m using the Ubuntu packages just fine (Could always do a Ubuntu Docker if that’s of interest instead tho)

@karbowiak said:

@elan said:
@karbowiak ~ what OS are you using? Thinking maybe I can pass you over a few test builds.

Debian Jessie, but i’m using the Ubuntu packages just fine (Could always do a Ubuntu Docker if that’s of interest instead tho)

Hmmm, does your Jessie use Upstart? Because I’m using LMDE, and it’s using sysvinit – I’ve searched, and I haven’t found how I can use this Ubuntu package with sysvinit. As said in the PMS for Linux forum, it creates a link from /etc/init.d/plexmediaserver to /lib/init/upstart-job (upstart’s not running on here, and I’m not switching from upstart to sysvinit)

Is there any way I can get my hands on a tarball to build it for sysvinit?

Okay, I was able to figure out how to run the plexmediaserver service:

I had to purge everything, delete the server from the account, install the Ubuntu package, and run:

start-stop-daemon --start -c plex --exec /usr/sbin/start_pms &

Then recreate the Library

Would still like to have a native Debian package, and would love to help build one

@durruti36 said:

Okay, I was able to figure out how to run the plexmediaserver service:

I had to purge everything, delete the server from the account, install the Ubuntu package, and run:

start-stop-daemon --start -c plex --exec /usr/sbin/start_pms &

Then recreate the Library

Would still like to have a native Debian package, and would love to help build one

Debian Jessie uses Systemd, and you can just install the ubuntu package directly with dpkg - works perfectly fine :slight_smile:

Did you guys get it to work? Or did you need some inside beta versions?