Jump to content

[Dev] EmbyTV a livetv client for Network Tuners (HDHomerun at the moment)


Recommended Posts

Posted

I have been busy the last  month and i just got  a new Sony Android TV to play with but it will try to set some time apart to work on this on june. 

Posted

Does EmbyTV work with HDHomerun Expand HDHR3-4DC for Europe? Also is EmbyTV available for European Schedules Direct users, because we get only JSON data from SD and not XMLTV?

jasonmcroy
Posted

I have a question about embedded metadata in the recording files. I stopped using the recording feature because MCEBuddy will not properly rename and move my files if they don't have metadata inside the file.

 

For some reason, NextPVR recordings are also no longer putting metadata inside the file either. I had to move over to Windows Media Center to get that functionality. It's strange NextPVR used to work just fine providing the data then it seems to have stopped. I don't know if it's because I switched over to Cable and am now using the HDHR-Prime with a Cablecard or not. Either way, WMC does embed the metadata.

 

Any ideas why this would be?

 

-Jason

Posted (edited)

Does EmbyTV work with HDHomerun Expand HDHR3-4DC for Europe? Also is EmbyTV available for European Schedules Direct users, because we get only JSON data from SD and not XMLTV?

If you know the lineup code you can put this directly on the xml configuration file. The plugin is based on the json service

<PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<TunerHostsConfiguration>

<TunerUserConfiguration>

<ServerType>HdHomeRun</ServerType>

<UserFields>

<UserField>

<Name>Url</Name>

<Value>XXX.XXX.XXX.120</Value>

</UserField>

<UserField>

<Name>OnlyFavorites</Name>

<Value>false</Value>

</UserField>

</UserFields>

</TunerUserConfiguration>

<TunerUserConfiguration>

<ServerType>HdHomeRun</ServerType>

<UserFields>

<UserField>

<Name>Url</Name>

</UserField>

<UserField>

<Name>OnlyFavorites</Name>

<Value>false</Value>

</UserField>

</UserFields>

</TunerUserConfiguration>

</TunerHostsConfiguration>

<hashPassword>FILTERED</hashPassword>

<username>{username}</username>

<lineup>

<Name>{whatever you want to put here}</Name>

<Id>{lineupCode}</Id>

</lineup>

</PluginConfiguration>

Edited by jose
Posted

I have a question about embedded metadata in the recording files. I stopped using the recording feature because MCEBuddy will not properly rename and move my files if they don't have metadata inside the file.

 

For some reason, NextPVR recordings are also no longer putting metadata inside the file either. I had to move over to Windows Media Center to get that functionality. It's strange NextPVR used to work just fine providing the data then it seems to have stopped. I don't know if it's because I switched over to Cable and am now using the HDHR-Prime with a Cablecard or not. Either way, WMC does embed the metadata.

 

Any ideas why this would be?

 

-Jason

I dont embed metadata i save the stream as it comes from the tuner.

jasonmcroy
Posted

Ok, thanks for the response. I realized I don't even know where the metadata comes from for these files in general either. Is it the epg provider or the software? Like I said above, NextPVR used to have metadata embedded in the file but for some reason it went away in the last few months. I used Schedules Direct for the epg in that application as well, so I thought maybe it's related since that is what is used in your application as well. I know WMC uses some other epg source so maybe that is the difference?

 

Anyway, thanks for your input and your work on the plugin!

 

-Jason

mediacowboy
Posted (edited)

@@jose, Im not having that issue but I am unable to pull anything from schedules direct. It looks like they may have changed something on their end. 

 

I went to the website in the logs: https://json.schedulesdirect.org/20141201/token.

This is the response I get

<html><head><title>404 Page Not Found</title><style>body{margin:0;padding:30px;font:12px/1.5 Helvetica,Arial,Verdana,sans-serif;}h1{margin:0;font-size:48px;font-weight:normal;line-height:48px;}strong{display:inline-block;width:65px;}</style></head><body><h1>404 Page Not Found</h1><p>The page you are looking for could not be found. Check the address bar to ensure your URL is spelled correctly. If all else fails, you can visit our home page at the link below.</p><a href="/">Visit the Home Page</a></body></html>
Edited by mediacowboy
rkulagow
Posted

[i work for Schedules Direct]

 

Retrieving a token isn't a GET, it's a POST, so unless you're using something like POSTman in Chrome you'll get a 404 because there is no token page to GET.

mediacowboy
Posted

[i work for Schedules Direct]

 

Retrieving a token isn't a GET, it's a POST, so unless you're using something like POSTman in Chrome you'll get a 404 because there is no token page to GET.

Ok, I don't know what happened but it is working again.

Posted (edited)

@@jose @rkulagow

 

I have made some progress I believe...if I change the EmbyTV config file to any one of the Lineup IDs that I see in the Emby log below then I get guide data! However, if I change the zip to anything other than these below I get an error 403 forbidden and Emby crashes. On the SD website, my account, I have NO lineups present, and as I understand, since the plugin uses json there doesn't need to be anything there.

 

So, to start where are these "lineups on account" coming from?

 

Thanks everyone!

2015-06-08 00:05:14.3863 Info - App: HttpClientManager GET: https://json.schedulesdirect.org/20141201/lineups
2015-06-08 00:05:14.4800 Info - EmbyTV: Lineups on account 
2015-06-08 00:05:14.4800 Info - EmbyTV: Lineups ID: USA-ECHOST-DEFAULT
2015-06-08 00:05:14.4800 Info - EmbyTV: Lineups ID: USA-NY31578-DEFAULT
2015-06-08 00:05:14.4800 Info - EmbyTV: Lineups ID: USA-OTA-14226
2015-06-08 00:05:14.4800 Info - EmbyTV: Lineups ID: USA-OTA-14304
Edited by Erik
rkulagow
Posted

Those 4 lineups are in your account on the JSON service, server-side. Do you want them deleted, or is that just going to cause other issues?

Posted

I'm not sure, but in the interest of figuring this out can you delete them all for me as they seem to be a factor with my issue.

 

After they are deleted, how would I go about adding new lineups? Just through the EmbyTV plugin? Or are those ones I may have added through the SD website at one time?

rkulagow
Posted

I've deleted them from the server.

 

To add lineups, use the EmbyTV plugin; it will do the necessary things to add the lineups to your account.

 

If you're on the JSON service then you don't perform any lineup management on the website anymore.

Posted

Ok thank you very much, I'll give it a try. If I could trouble you with one more question...

 

The app doesn't support Canadian postal codes yet, but I can enter the lineup ID into the configuration file for EmbyTV. How can I find the ID for a peticular lineup? I can PM the postal code if you need, just looking for the OTA lineup)

 

Thanks again

rkulagow
Posted

It's going to be something like:

 

CAN-OTA-K1K0R3

 

So just use your postal code, all caps throughout, no spaces.

Posted

Thanks @@rkulagow !!

 

After you deleted those lineups and I was able to successfully input and download my local data.

 

For the future (and maybe others) is there a limit of lineups on SD server side using the json service through the plugin? should the plugin be deleting lineups when changed? or is this an isolated incident as this is the code response from the same request I posted above.

2015-06-08 12:37:35.1178 Info - App: HttpClientManager GET: https://json.schedulesdirect.org/20141201/lineups/CAN-OTA-######
2015-06-08 12:37:35.2896 Info - EmbyTV: Found 40 channels on the lineup on ScheduleDirect

thanks again!

rkulagow
Posted

The JSON service starts with the same limit as the XML service: 4 lineups per account. But that can be modified on an account-level.

 

I don't know the status of the EmbyTV plugin but it should allow you to delete lineups.

Posted

ok, thanks, this makes more sense now.

 

@@jose for the future, is the plugin just adding a lineup each time one is added? which maxed out my account when I was initially testing it. Or is it suppose to be removing the previous lineup if you switched to another? Maybe the plugin can download and display each subscribed lineup and the ability to + or - to the max of 4. Similar to how you have it adding/removing Tuner hosts.

Posted

ok, thanks, this makes more sense now.

 

@@jose for the future, is the plugin just adding a lineup each time one is added? which maxed out my account when I was initially testing it. Or is it suppose to be removing the previous lineup if you switched to another? Maybe the plugin can download and display each subscribed lineup and the ability to + or - to the max of 4. Similar to how you have it adding/removing Tuner hosts.

Add the moment it doesnt delete them , i have yet to add that, 

Posted

thanks @@jose , it's working great for me now! Thanks a lot for the awesome plugin!

 

Erik

oldschool
Posted

I decided to try out this plugin, but I messed up. For some reason, my router is listing a hostname for my HDHR, but I can't ping that hostname. I would rather use a hostname instead of an IP because my router is using DHCP and that IP will most likely change the next time I restart my router. When I went to the config page (using FIrefox and Chrome), it didn't offer me a nice list of the HDHR tuners I have.

 

I tried to input the hostname in the box, and immediately Emby crashed. I now cannot recover. My server will not startup. When I try to launch Emby, it gives me the error:

Unhandled exception: The remote name could not be resolved: 'hdhr-13125dd3'.

 

I tried searching inside the C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\config\system.xml file and it doesn't find that entry. I'm not sure where you're storing this setting right now. I cannot start Emby at the moment because of this issue.

mediacowboy
Posted

Look in the plugin folder for a configurations folder. Inside that folder is the embytv.xml and delete that. That should fix it where your server can boot up.

  • Like 1
oldschool
Posted

Thank you for the quick response!

 

BTW - once I corrected it in the XML, it showed up in the configuration, but on Firefox, there's a problem with the GUI. See attached image.

post-561-0-48158000-1434033799_thumb.png

mediacowboy
Posted

I'm not sure on that one. Do you see that if you add a new Turner?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...