Jump to content

Tvheadend plugin for Emby - Beta 1


Tolotos

Recommended Posts

nhsman

Hi all, can you let me know how long does it take to sync channel logos using TVHeadend plugin. I have it installed and all channel and guide is synced at the moment, but no channel logos are displayed in Emby webif. Is there any setting that need to be enabled for logos to display?

BTW. each channel on TVHeadend server has its own logo assigned. All displays fine in Kodi.

Thanks.

Link to comment
Share on other sites

Do they come out of TVH as svg? I think someone may have mentioned that at some point, although I could be wrong.

Link to comment
Share on other sites

  • 4 weeks later...
chattojimnow

@@nhsman look in settings and theres a section im using HTS TVheaded 4.0 its in Configuration- in picon setting and click prefer icons over channel names. you must have icons linked in the channel/epg user icon ive just put links to the icons.

 

Works for me

Link to comment
Share on other sites

chattojimnow

@@Luke only one thing i cant get to work. if its even meant to work... in my media the dynamicly created image like movies etc have blank image for live tv.... anyone got that to work????

Link to comment
Share on other sites

Pepes

Guys? Did I do something wrong?  Should I have Emby premiere?

My TVh version is: 4.1-2458~g5ea10b5c3 I can see that I have connection in TVh and my Live TV in Emby looks like this: https://ctrlv.cz/BdqV

But when I jumped to home and Live TV they're categories like "On Now" "TV shows" "Movies" "Sport" "For Kids" "News", but they're empty. 
I clicked on the upper bar on EPG, which is empty. Channels are also empty, but recordings are there. But it's weird.

I have 30 recordings finished (no failed, maybe I removed them, can't remember), but Emby sees 128 recordings.

 

I also tried to set value "TV" to  "Use this channel type for channels taged with 'Other':"

 

and I'd also appreciate if somebody can update OP. :-)

 

@@Tolotos Here is log from Emby (I dont know if it helps): https://pastebin.com/3cRDb19b and full log: https://pastebin.com/TpH7QT8y (ctrl + f -> 192.168.1.10 - it's the IP address, where is TVH located)

Edited by Pepes
Link to comment
Share on other sites

@@Luke only one thing i cant get to work. if its even meant to work... in my media the dynamicly created image like movies etc have blank image for live tv.... anyone got that to work????

 

We don't have one for live tv. We should not just display live tv in that list.

Link to comment
Share on other sites

Tolotos

@@Pepes can you please check with the attached version?

It contains more logging to identify the culprit.

 

Unzip the archive and put the dll into the plugins folder of emby.

Restart emby.

TVHeadEnd.zip

Edited by Tolotos
Link to comment
Share on other sites

chattojimnow

Is there a thought of recreating the dynamic images in scheduled list, when desired? Ill add it to feature request but if its on development list no point repeating it..

Also is there a chance or section ppl could add to the site to share icons images and tv icons etc..(im guessing this is the wrong thread to discuss this tho...

Link to comment
Share on other sites

Tolotos

@@Tolotos Here it is : https://pastebin.com/AcukTVa9  hopefully it has enough details.

 

EDIT: I found the true reason. The end date will getting larger than 23:59:59.9999999 UTC, December 31, 9999 in the Gregorian calendar with the value send from TVH.

 

EDIT 2: I hopefully found a solution. Please check the attached version.

TVHeadEnd.zip

Edited by Tolotos
Link to comment
Share on other sites

Tolotos

I tried. Still nothing. No epg, no channels. :(

See it shouldnt show: 128 recordings: https://ctrlv.cz/DcMb

Log: https://pastebin.com/waFxRTes

 

Your log says: 

Emby started at                  18:53h

TVH-server connect at       18:56h

Log ends at                        19:05h

 

Emby didn't communicate with TVH in the short time frame.

Please let the system (Emby and TVH-Server) running at least 24h and report again.

 

-- Tolotos

Link to comment
Share on other sites

Tolotos

The above logging tells me two things:

 

1) you are not using my lates version of the plugin. Please use the version attached to this post!

2) Emby is not calling TVH for new data.

    Please

        - stop emby

        - do step 1)

        - wait at least 1h

        - check the tasks page of emby if the "Refresh Guide" was running and how long it took.

        - it is still running wait until it finishes

        - if it was nor running start it manually

 

Do you have configured other Live-TV data sources?

 

TVHeadEnd.zip

Link to comment
Share on other sites

I think I did everything as you said. In the last try I stopped emby after I put the new version of your plugin. So that's my fault, but you could tell me, which version is in that file, which you uploaded here. So I could check if I did it right.

 

Refresh Guide wasn't running and when I click on "Refresh Guide Data" button it took something around 5 secs.

 

Log here:  http://bloodkings.eu/uloziste/3.txt

 

But I'm not sure about this step:

Do you have configured other Live-TV data sources?

When I choose from left menu: Live TV

There are two possibilities:

1) Add tuner

Tuner type:

- HD Homerum

- M3U tuner

- Other -> Detect my devices: none and for additional live tv providers  click on Services tab

 

2) Add guide provider

- Schedules Direct: requires account (which I dont have and I doubt that I need it)

-  Xml TV: not filled file or url for xml (and I'm not sure if I need it. I dont think so. That's why I tried to choose third opinion, which is Other)

- Other -> Alert -> I should check Services tab.

 

Ok I switched to Services tab and there I have installed services and there is only tvheadend and there are 3 dots and there is only settings (where can I set IP address for tvheadend,http/hstp port and so on) and uninstall.

Nothing that I could add guide provider.
I also checked help, but it didn't help me.

 

So honestly I don't know how to configure it and I'm thinking that I need maybe Emby premiere or my Tvheadend version Tvheadend 4.1-2458~g5ea10b5c3 from 12/3/2017 isn't compatible ?

Edited by Pepes
Link to comment
Share on other sites

@@Tolotos is there anything new or I should try the newest version of tvh?

 

//EDIT:
I upgraded to the latest version of master. Right now labeled as: Tvheadend 4.3-295~ga9dffb7e9-dirty and still nothing.

 

I can see recordings (even more than I have), but I cant see channels, guide and so on

Edited by Pepes
Link to comment
Share on other sites

Tolotos

@@Pepes I have no idea whats going wrong.

In the logs I see the plugin is connected to your TVH-server but Emby is not calling the getChannels and getEvents methods.

The plugin is only a passive bridge between Emby and TVH - if no method is called from Emby internally i can't give any furter support.

@@Luke Do you have any ideas what can be the reason the channels are not read?

Edited by Tolotos
Link to comment
Share on other sites

based on post #466 it sounds like he doesn't realize that he needs to setup the guide data in tvheadend.

Link to comment
Share on other sites

I got EPG from my TV provider and it's periodically checked by tvheadend itself. 
In Kodi I installed only pvr plugin called: "Tvheadend HTSP Client" edited connection settings and that's all.  I expected (and still expect) that it should be same in this plugin for Emby.

I don't use any epg grabber. When you tell how to setup the guide data in tvheadend to be available for Emby I'll try it to do.

 

Or should I really use XML source?  :wacko:

//EDIT: Wait a minute...
Maybe I figured something based on this:

https://emby.media/community/index.php?/topic/44391-ubuntu-1604-tvheadend-emby-server-tvhclient-livetvservice/&do=findComment&comment=415460

https://emby.media/community/index.php?/topic/27985-trouble-with-live-tv/#entry271065

(wasn't too hard to write only "tvheadend emby" to Google)

In Configuration -> Channel / EPG -> Channels ; all my channels has 0 number.

 

Will try to put some numbers and will tell you result

//EDIT2:

 

It's working!!  This should be written somewhere. :-)

(almost two years known issue :( )

Edited by Pepes
Link to comment
Share on other sites

Benoire

Hi

 

I've got TVH and Emby installed and sharing data, but I wanted to enquire as to the state of HTSP streaming; does the emby plugin use HTSP and therefore allow full timeshift of the TVH data stream? I quite like the look of Emby theatre but timeshift is an important part of my TV watching.

 

Thanks,

 

Chris

Link to comment
Share on other sites

Tolotos

HTSP is currently not supported.

The Emby team is currently working on a SAT>IP implementation for emby.

If this is ready the plugin is no longer needed and Emby can connect to the TVH SAT>IP service directly.

Link to comment
Share on other sites

Tolotos

Thank you for the reminder. The attached version above is in the catalog now.

Link to comment
Share on other sites

  • 5 weeks later...

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...