Jump to content

Tvheadend plugin for Emby - Beta 1


Tolotos

Recommended Posts

fbartels

1) Is the ProSieben channel visible as channel?

Yes, in general the channel shows up in Emby and can also be played. Only epg data is missing.

 

With the debug version I now see the following (when running an epg refresh):

2016-03-02 07:29:32.6759 Info App: [TVHclient] GetProgramsAsync, ask TVH for events of channel '771785197'.
2016-03-02 07:29:32.6772 Info App: [TVHclient] GetEventsResponseHandler.handleResponse: received answer from TVH server

HTSMessage:
  <dump>
    error : Channel does not exist
    seq : 17
  </dump>

Unfortunately I do not see any thing in the tvheadend logs (also when enabling debug from the webinterface and also checking syslog).

 

regarding 2) then i'll keep the transcoding settings at their default.

Link to comment
Share on other sites

Tolotos

 Still no minor channels #s.

 

John

 

Please use the dll from post 249 and search for lines like: "[TVHclient] ChannelDataHelper: Adding channel" and post the below lines describing the message from tvheadend. Maybe the send attribute name is different to the documented one.

 

-- Tolotos

Link to comment
Share on other sites

Tolotos

2016-03-02 07:29:32.6759 Info App: [TVHclient] GetProgramsAsync, ask TVH for events of channel '771785197'.
2016-03-02 07:29:32.6772 Info App: [TVHclient] GetEventsResponseHandler.handleResponse: received answer from TVH server

HTSMessage:
  <dump>
    error : Channel does not exist
    seq : 17
  </dump>

 

I know I read about this behavior.

 

See

 

#187 in this thread

https://tvheadend.org/boards/5/topics/18465

https://tvheadend.org/issues/3271

 

The issue is posted to tvheadend from a member of this forum. It looks like no tvheadend people was looking into this.

@@Antropy Do you still have this issue?

 

-- Tolotos

Link to comment
Share on other sites

johnodon

Please use the dll from post 249 and search for lines like: "[TVHclient] ChannelDataHelper: Adding channel" and post the below lines describing the message from tvheadend. Maybe the send attribute name is different to the documented one.

 

-- Tolotos

 

I copied the DLL from post 249.  These are the only lines I see in the server log that have "TVH" in them:

2016-03-02 18:55:05.3246 Info App: Loading TVHeadEnd, Version=1.0.5904.37044, Culture=neutral, PublicKeyToken=null
2016-03-02 18:55:11.3135 Info App: [TVHclient] LiveTvService()
2016-03-02 18:55:11.3135 Info App: [TVHclient] HTSConnectionHandler()
2016-03-02 18:55:11.3144 Error App: [TVHclient] New ChannelDataHelper created !
2016-03-02 18:55:11.3224 Info App: [TVHclient] HTSConnectionHandler.ensureConnection: Priority was out of range [0-4] - set to 2
Link to comment
Share on other sites

johnodon

Please start "Refresh Guide" in the "Scheduled Tasks" view.

 

And there was much rejoicing.  :)  I now have minor channel #s.  Here are some sample entries in the log:

2016-03-02 20:30:11.6434 Info App: [TVHclient] ChannelDataHelper: Adding channel 

HTSMessage:
  <dump>
    channelId : 7187755
    channelNumber : 2
    channelNumberMinor : 1
    channelName : MeTV
    channelIcon : imagecache/1
    eventId : 69614
    nextEventId : 69616
    services : 
HTSMessage:
  <dump>
    name : ATSC-T network/57.028MHz/MeTV
    type : HDTV
  </dump>

, 
    tags : 1, 2, 
    method : channelUpdate
  </dump>


2016-03-02 20:30:11.6434 Info App: [TVHclient] ChannelDataHelper: Adding channel 

HTSMessage:
  <dump>
    channelId : 19447612
    channelNumber : 65
    channelNumberMinor : 1
    channelName : Univision
    channelIcon : imagecache/100
    eventId : 71207
    nextEventId : 71209
    services : 
HTSMessage:
  <dump>
    name : ATSC-T network/563.028MHz/WUVP-DT
    type : SDTV
  </dump>

, 
    tags : 2, 1, 
    method : channelUpdate
  </dump>

  • Like 1
Link to comment
Share on other sites

Tolotos

Thanks, please test a few days. If I get no further error reports this version will be released.

Link to comment
Share on other sites

johnodon

Will do.

 

Last question which was overlooked...

 

I read earlier in the thread that the path to icon files needs to be HTTP://.  Is this still true?  As  you can see I am not getting any icons.

 

John

Link to comment
Share on other sites

Tolotos

In the plugin version you use the picon support is added.

Please find my settings attached.

 

post-5739-0-85693200-1456953459_thumb.png

post-5739-0-50998900-1456953467_thumb.png

 

I use tvheadend 4.0.8.

It translates the picon://xxxxxxxxxxxxxx.png entries to imagecache/Y as you can see in your post.

 

If you get an image in your browser using this URL (you will be asked for a valid tvh user/passwd):

 

http://<tvh-server>:<tvh-port>/imagecache/1

 

You should see the images in Emby.

Maybe it takes some hours until Emby reload the images.

 

Do you see the images if you open the info dialog in the tvheaden EPG view?

post-5739-0-50128300-1456953979_thumb.png

 

-- Tolotos

 

Link to comment
Share on other sites

johnodon

I am using regular icons (not picons) since I am OTA:

 

 

mpZG82M.png

 

ChUAcF9.png

 

Kodi + TVH sees these fine but not Emby + TVH.

 

John

Edited by johnodon
Link to comment
Share on other sites

johnodon

Is the URL working I wrote?

 

I am able to see the icon via the URL:

 

EVmjNXI.png

 

I can also see the icons in the TVH episode information:

 

5kzMutm.png

Link to comment
Share on other sites

Tolotos

@@johnodon

Ok, this means tvheadend supply the images and the plugin calculate the correct path.

Above in this thread is a post from a user who changed some channel images and Emby don't update.

I think the solution was to delete the contend of the Emby image cache folder.

 

...\MediaBrowser-Server\cache\images\resized-images

 

Please do the following:

 

1) Stop Emby

2) Move the resized-images folder to a save place

3) Start Emby

4) Start Refresh Guide

 

wait some hours and check the channel images.

Please be patient as the delete images are all images Emby downloaded from the internet so reloading take some time depending on your internet access.

 

-- Tolotos

 

EDIT:

 

You should find lines like

 

          [TVHclient] HTSConnectionHandler.GetChannelImage() ...

 

in your log file if Emby asks the plugin for the images.

Edited by Tolotos
Link to comment
Share on other sites

Antropy

Hi Tolotos,

sorry for the delay. I still have this issue that one channel is empty in the epg and tvheadend is logging that channel is missing.

My Bugreport and a similar forum entry at tvheadend site is still new. 

 

For a test with a Playback Bug of recordings in Kodi i builded a new tvheadend vm with debian. There wasn´t this epg Bug. Config was not copied at build from scratch. At this Moment i´m thinking about switching permanent to the debian VM.

Link to comment
Share on other sites

  • 2 weeks later...
dcrdev

I can't get channel icons working - they work under tvheadend but fail to appear in Emby.

 

In the logs I'm seeing a lot of:

2016-03-18 19:54:54.6963 Info App: [TVHclient] ChannelDataHelper.buildChannelInfos: channelIcon '/imagecache/143' can not be handled properly for channelID '342087750'!

Link to comment
Share on other sites

Tolotos

Do you use the latest beta (1.0.5900.29260) of the plugin?

Only this version can handle this kind of icons.

The older versions needs a HTTP-setup (loading the icons from a webserver) for the icons in tvheadend.

Link to comment
Share on other sites

dcrdev

Do you use the latest beta (1.0.5900.29260) of the plugin?

Only this version can handle this kind of icons.

The older versions needs a HTTP-setup (loading the icons from a webserver) for the icons in tvheadend.

 

Ah should have read the whole thread - thank you it's working now.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
gstuartj

@@Tolotos

 

Any chance we will be getting media information from the plugin so we can cut the transcoding that is not needed ?

 

http://emby.media/community/index.php?/topic/29012-transcoding-when-not-needed-live-tvrecordings/

 

maybe @@t.andre has some suggestions ?

This already works as expected in the Android mobile app and Emby passes the TVHeadend stream without transcoding. Are we certain the issue is the back end?

Link to comment
Share on other sites

This already works as expected in the Android mobile app and Emby passes the TVHeadend stream without transcoding. Are we certain the issue is the back end?

 

Interesting, at my end not even Emby Theater that should have no need for transcoding is transcoding recordings, live-tv, both HD and SD

 

Just tested android app on phone and it's indeed transcoding

Edited by KRA
Link to comment
Share on other sites

gstuartj

Interesting, at my end not even Emby Theater that should have no need for transcoding is transcoding recordings, live-tv, both HD and SD

 

Just tested android app on phone and it's indeed transcoding

Odd, I just double-checked and the mobile app definitely still doesn't transcode for me. There must be some difference. What software versions are you using? (TVHeadend, TVH plugin, and Emby) Are you in the U.S.?

Edited by gstuartj
Link to comment
Share on other sites

gstuartj

You don't have transcoding turned on in TVHeadend, do you? There's also a transcoding setting for recordings in Emby under Live TV settings, but that should just affect recordings, AFAIK.

Edited by gstuartj
Link to comment
Share on other sites

gstuartj

Never mind, I may have put my foot in my mouth. It looks like the admin interface isn't always indicating that the stream is being transcoded, but when I grep my processes I do see a corresponding ffmpeg transcode for the stream. You may be right.

Link to comment
Share on other sites

Tolotos

Is the lates beta not doing this job by using the subtitle switch?

With this switch set to true the following information will be passed to emby:

- Bitrate

- Container

- Formats

- MediaStreams

- RunTimeTicks

- Size

- Timestamp

- Video3DFormat

- VideoType

Link to comment
Share on other sites

I did not know that the experimental subtitle switch had such features, now I've actually been able to playback live-tv without transcoding in MS Edge browser. However I've had some issues and problems also. Will post an update after more testing.

Link to comment
Share on other sites

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