Gerrit507 24 Posted March 3, 2018 Share Posted March 3, 2018 (edited) Refresh doesn't work. TvHeadend Server works with 3 Kodi devices flawlessly.Do we need any special settings in TvH Server for Emby? The whole TvHeadend plugin has been really unstable on my build as I tried re-installing the plugin a few times.The channels did show up but they were not playing so I tried to re-install the plugin but everything has disappeared again.TvH Server and Emby run on an OMV NAS and the source is an IPTV network which is piped through ffmpeg on TvH Server. Emby 3.3.0 Plugin 1.3.7 Server 4.2.5-43~ga2fab13ad Service_working_log.txt Service_not_working_log.txt First of all when you install the update you need to restart emby, second after configuring the plugin you need to restart again. Then to get the channels you need to run the "Refresh Guide" task only then the channels will appear. When the channels are not playing what exactly happens? Does it start transcoding and then fails or doesn't it even start transcoding. Make sure your tvheadend user has Streaming: Basic and Advanced rights. Kodi streams over htsp, whereas this plugin streams over http. Edited March 3, 2018 by Gerrit507 1 Link to comment Share on other sites More sharing options...
hsran 0 Posted March 4, 2018 Share Posted March 4, 2018 First of all when you install the update you need to restart emby, second after configuring the plugin you need to restart again. Then to get the channels you need to run the "Refresh Guide" task only then the channels will appear. When the channels are not playing what exactly happens? Does it start transcoding and then fails or doesn't it even start transcoding. Make sure your tvheadend user has Streaming: Basic and Advanced rights. Kodi streams over htsp, whereas this plugin streams over http. Cheers! Got it all sorted now. The channels numbers were reset to 0 which isn't compatible with the TvH plugin.Manually assigned channel numbers and disabled "Network Discovery" as it seems to be pushed by the provider. Link to comment Share on other sites More sharing options...
DeBaschdi 0 Posted March 7, 2018 Share Posted March 7, 2018 Hi for me since update 3.2.7 channel icons not working. (opensuse leap 42.3) i tried both http:// , and file:/// settings in tvheadend 4.3-1113~g780c60374 under picon settings. picons show up in kodi, but not in emby. now im on emby 3.3.1.2 beta and plugin 1.3.7. log looks nice 2018-03-07 16:37:29.379 Info App: [TVHclient] ChannelDataHelper: Adding channel HTSMessage: <dump> channelId : 192936347 channelNumber : 8 channelName : rtl2.de channelIcon : imagecache/22434 eventId : 132040 nextEventId : 0 services : HTSMessage: <dump> name : Astra/10832H/RTLII HD type : HDTV content : 1 caid : 65535 caname : Encrypted service </dump>, tags : 1, 7, 8, method : channelAdd </dump> but no icons show up in emby.... an cat /home/hts/config/imagecache/meta/22434 tell me : { "url": "http://localhost/picons/logos/rtliihd.png", "sha1": "bb6cd9ee4aa33bc9d74e785396d103f340102c65"} when i enter in firefox http://localhost:9981/imagecache/22434 my picon will show up ( after i enter username and pw) sry for my bad english.... Link to comment Share on other sites More sharing options...
flowlee 1 Posted March 7, 2018 Share Posted March 7, 2018 I have exactly the same problem as DeBaschdi. Picons stored on the tvheadend server (file:///...) are not displayed but work fine in Kodi or when the URL is entered in a browser. Strangely enough the one icon that is external (http://...) seems to get picked up by Emby. Link to comment Share on other sites More sharing options...
Luke 37063 Posted March 8, 2018 Share Posted March 8, 2018 Probably because emby server does not have direct access to that file location, right? Link to comment Share on other sites More sharing options...
DeBaschdi 0 Posted March 8, 2018 Share Posted March 8, 2018 (edited) if u mean me, when i use file:/// settings, emby has acces to my picons storend in /home/hts/picons (user hts and user emby are both in group video) drwxrwxr-x 3 hts video 724992 5. Mär 07:52 picons and if i use http:// settings, it should be similar ? but in both cases, no picons show up in emby. Edited March 8, 2018 by DeBaschdi Link to comment Share on other sites More sharing options...
Luke 37063 Posted March 8, 2018 Share Posted March 8, 2018 Right, they need to be image files. Link to comment Share on other sites More sharing options...
DeBaschdi 0 Posted March 8, 2018 Share Posted March 8, 2018 the picons stored in /home/hts/picons are image files! ls -la /home/hts/picons/ |grep rtl2hd -rwxrwxr-x 1 hts video 2458 22. Feb 06:04 rtl2hd.png Link to comment Share on other sites More sharing options...
Luke 37063 Posted March 8, 2018 Share Posted March 8, 2018 Ok, there is probably some work required in the plugin then to handle these. Link to comment Share on other sites More sharing options...
DeBaschdi 0 Posted March 8, 2018 Share Posted March 8, 2018 it was working fine in 3.2.6 (only tried with file:/// settings) dont remember the pluginversion. Link to comment Share on other sites More sharing options...
Luke 37063 Posted March 8, 2018 Share Posted March 8, 2018 @@Gerrit507 have you tried this? Link to comment Share on other sites More sharing options...
flowlee 1 Posted March 8, 2018 Share Posted March 8, 2018 The file:/// location is only used within tvheadend, these images are then served at a URL that can be accessed externally by any browser. This seems to work because other clients see the icons just fine and Emby even uses these URLs. They are just not displayed correctly. I don't think permissions are the problem here, maybe it's just a matter of accepting image URLs that don't end in .jpg or .png? The imagecache function of tvheadend serves the picons at http://<host>:9981/imagecache/<random id> if I remember correctly, so these images don't really look like images. Link to comment Share on other sites More sharing options...
DeBaschdi 0 Posted March 8, 2018 Share Posted March 8, 2018 after a littlebit more testing, when i go on livetv (browser) to my channel "rtl2" open with rightclick on the "primary" (not displayed picon) and say : open image in new tab http://xxx.xxx.xxx.xxx:8096/emby/Items/306a0896cba824b8ed9b23ad1883ee63/Images/Primary?maxHeight=322&tag=6768cc171b7fa68a89d3a99bc3bb5021&quality=90 firefox say : Value cannot be null. Parameter name: mimeType Link to comment Share on other sites More sharing options...
DeBaschdi 0 Posted March 8, 2018 Share Posted March 8, 2018 (edited) The imagecache function of tvheadend serves the picons at http://<host>:9981/imagecache/<random id> if I remember correctly, so these images don't really look like images. inside the <random id> : when using http:// in tvheadend picon settings: { "url": "http://localhost/picons/logos/rtliihd.png", "sha1": "bb6cd9ee4aa33bc9d74e785396d103f340102c65" } and when using file:/// in picon settings : { "url": "file:///home/hts/picons/logos/rtliihd.png", "updated": 1487298450 } Edited March 8, 2018 by DeBaschdi Link to comment Share on other sites More sharing options...
Gerrit507 24 Posted March 8, 2018 Share Posted March 8, 2018 @@Gerrit507 have you tried this? after a littlebit more testing, when i go on livetv (browser) to my channel "rtl2" open with rightclick on the "primary" (not displayed picon) and say : open image in new tab http://xxx.xxx.xxx.xxx:8096/emby/Items/306a0896cba824b8ed9b23ad1883ee63/Images/Primary?maxHeight=322&tag=6768cc171b7fa68a89d3a99bc3bb5021&quality=90 firefox say : The picons need to ne accesible via http. The tvheadend plugin builds this path: http://servername:port/imagecache/id There is still the issue with the missing mimeType. Tvheadend doesn't provide information of which type the file is. Emby needs this information. I've submitted a pull request for emby-server which could handle such missing mimeTypes a few days ago... I've tested it and emby shows channel icons with this again. https://github.com/MediaBrowser/Emby/pull/3187 Link to comment Share on other sites More sharing options...
Zerocool9 0 Posted March 9, 2018 Share Posted March 9, 2018 Hello I have been all though this topic but couldn’t stop it any where I have it all set up and working apart from the channel icons but I can see this is in progress Also how do I get my channels list under the correct category eg sports or movies do I have to add channel tags in the tvheadend sever to the channel if so what are the tags?Or is it the stream name? Link to comment Share on other sites More sharing options...
Gerrit507 24 Posted March 9, 2018 Share Posted March 9, 2018 Hello I have been all though this topic but couldn’t stop it any where I have it all set up and working apart from the channel icons but I can see this is in progress Also how do I get my channels list under the correct category eg sports or movies do I have to add channel tags in the tvheadend sever to the channel if so what are the tags?Or is it the stream name? The channels are not divided in categories, only program entries from the epg are. The category they are sorted in depends on what info the epg provides in the "content type" field for each program entry. Link to comment Share on other sites More sharing options...
Luke 37063 Posted March 18, 2018 Share Posted March 18, 2018 The next release of emby server will have a hack that should get the TVH images working again. Thanks. 1 Link to comment Share on other sites More sharing options...
xses 0 Posted March 22, 2018 Share Posted March 22, 2018 The next release of emby server will have a hack that should get the TVH images working again. Thanks. Sounds awesome! Any news when we are able to get the new release? Link to comment Share on other sites More sharing options...
mad_cow 2 Posted March 22, 2018 Share Posted March 22, 2018 (edited) I've searched this board and many other, but I cant seem to get Live TV installed. I have TVHeadend server 4.3-1159~gc64482d65 runninf inside Docker on my Synology DS218+. - I can connect to the webinterface, find channels, see EPG. It all works - I can use a TVHeadend client app on my android phone. Same. It all works. I tried the Emby TVHeadend client - doesn't work - "Refresh Guide Data" --> nothing happens - Add "Detect My Devices" --> no tuner found - Added channels as a M3U playlist, that works, but no EPG nor channel icons - tried with and without password, no difference What is the 'correct' way to set it up? Or should I downgrade to a lower version of TVHeadend server? Edit Don't know exactly what I did. But after another restart, suddenly my channels started populating. It works now, including EPG (without channel logos yet) Edited March 24, 2018 by mad_cow Link to comment Share on other sites More sharing options...
zapras 2 Posted March 30, 2018 Share Posted March 30, 2018 (edited) I'm using mc2xml with schedules direct. I combine all 4 of my SD lineups into one and then import into tvheadend using the External: xmltv module (the one with xmltv.sock that you cat the data into) example screenshot: Can you help me out on that? I think I'm stuck. I've finally managed to source a xmltv guide with programme icons. I've used this command I found here to cat into the xmltv.sock file. cat tvguide.xml | socat - UNIX-CONNECT:/home/hts/.hts/tvheadend/epggrab/xmltv.sock In TVHeadend, I've made sure each channel has the epg source as xmltv. I've reset the guide in Kodi and it seems to draw the new schedule just fine, it doesn't show any posters but that could be normal for Kodi? (I'm assuming Kodi doesn't display posters). In Emby I've done a refresh guide, I'm unsure if that's actually drawing from the new guide, but that doesn't show any new posters. I've checked /xmltv/channels and that doesn't show any of the icon url data. An example programme from my guide data: <programme start="20180330183500 +1300" stop="20180330203000 +1300" channel="32"> <title>Robocop 2</title> <desc>Action:This sequel pits Robocop against a gang of drug dealers and the title creature - a supposedly improved version of himself - that has gone berserk. Stars: Peter Weller, Nancy Allen</desc> <category>Movie - Action</category> <rating> <value>M</value> </rating> <star-rating> <value>5/8</value> </star-rating> <video> <quality>HDTV</quality> </video> <audio> <stereo>stereo</stereo> </audio> <audio-description present="no" /> <credits> <director>Irvin Kershner</director> <producer>Jon Davison</producer> <producer>Phil Tippett</producer> <producer>Jane Bartelme</producer> <producer>Patrick Crowley</producer> <writer>Frank Miller</writer> <writer>Walon Green</writer> <actor>Peter Weller</actor> </credits> <date>1990</date> <icon src="http://example.com/examplemovie.jpg" /> </programme> Edited March 30, 2018 by zapras Link to comment Share on other sites More sharing options...
Luke 37063 Posted April 3, 2018 Share Posted April 3, 2018 @@zapras, are you missing channel logos or program images? Link to comment Share on other sites More sharing options...
Luke 37063 Posted April 4, 2018 Share Posted April 4, 2018 Just FYI for TVHeadend users, this is an option you might want to consider that would allow you to use Emby native live tv features without requiring the TVHeadEnd plugin: https://emby.media/community/index.php?/topic/57630-multiple-issues-might-be-related/?p=564185 Thanks. Link to comment Share on other sites More sharing options...
Iorifly 15 Posted April 5, 2018 Share Posted April 5, 2018 I have trouble playing the channels. I'm using: Emby - Version 3.3.1.0 Tvheadend - HTS Tvheadend 4.2.5 ~ LibreELEC Tvh-addon v8.2.113 Plugin - 1.3.7.0 It displays the channels, but does not play anything. When I go to the tvheadend log, I verify that the access was not authorized 192.168.1.20 [ Renato ]: Welcomed client software: TVHclient4Emby-3.3.1.0 (HTSPv20) 2018-04-05 17:50:56.403 htsp: 192.168.1.20 [ Renato | TVHclient4Emby-3.3.1.0 ]: Unauthorized access Link to comment Share on other sites More sharing options...
Luke 37063 Posted April 5, 2018 Share Posted April 5, 2018 I'm not a TVHeadend expert but it looks like you need to configure how the plugin logs into tvheadend. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now