saed 6 Posted October 6, 2016 Posted October 6, 2016 (edited) The plugin is only tested with the stable TVHeadend 4.0.9. @@chvb @@saed Can you please post the complete Emby log? Hi. thank you very much. attached "log" server-63611378917.txt Edited October 6, 2016 by saed
chvb 1 Posted October 6, 2016 Posted October 6, 2016 The plugin is only tested with the stable TVHeadend 4.0.9. @@chvb @@saed Can you please post the complete Emby log? Hi, thanks for your answer. In the Attachment you can see the log files. Log.txt Server.txt
chvb 1 Posted October 7, 2016 Posted October 7, 2016 The plugin is only tested with the stable TVHeadend 4.0.9. @@chvb @@saed Can you please post the complete Emby log? Hey, now i know whats the problem. The plugin has updated itself. I've disabled the auto update and installed the 1.0.6097.29930 Version. With the older Version everything works fine. With the newer Version there seems to be a bigger Problem.
Tolotos 61 Posted October 7, 2016 Author Posted October 7, 2016 (edited) Hi, thanks for your answer. In the Attachment you can see the log files. The error is in the log: 2016-10-06 20:21:41.9255 Info App: [TVHclient] HTSConnectionHandler.ensureConnection: Used connection parameters: TVH Server = '192.168.178.11'; HTTP Port = '9981'; HTSP Port = '9982'; Web-Root = '192.168.178.11:9981'; User = 'admin'; Password set = 'True' You set the new Web-Root parameter to the wrong value. The complete URL will be build like: <server-name>:<port><webRoot> Therefore your URL looks like http://192.168.178.11:9981192.168.178.11:9981 Add a / as Webroot if you don't have redirected the tvheadend server. If your URL is <server-name>:<port>/myredirectpath your Web-Root must be set to "/myredirectpath" -- Tolotos Edited October 7, 2016 by Tolotos
Tolotos 61 Posted October 7, 2016 Author Posted October 7, 2016 Hi. thank you very much. attached "log" Your ffmpeg dies during transcoding. 2016-10-06 19:32:02.2018 Info App: /usr/bin/ffmpeg -fflags +genpts -i "http://192.168.22.140:9981//stream/channelid/1556439513?ticket=C03D82EB7FFBFDD7C507FF50DF83E4CE4577831B"-sn -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -vf "yadif=0:-1:0" -pix_fmt yuv420p -preset superfast -crf 23 -b:v 8000000 -maxrate 8000000 -bufsize 16000000 -vsync -1 -profile:v high -level 41 -map_metadata -1 -threads 0 -codec:a:0 libmp3lame -ac 2 -ab 192000 -af "aresample=async=1" -y "/var/lib/emby-server/transcoding-temp/9d4c5675e939044f76fbb3bf2781a628.mkv" 2016-10-06 19:32:02.2809 Info App: FFMpeg exited with code 1 Can you please post the ffmpeg-transcode log file? -- Tolotos
saed 6 Posted October 7, 2016 Posted October 7, 2016 hi. attached new logs. thanks Log_ffmpeg.txt Log_server.txt
chvb 1 Posted October 10, 2016 Posted October 10, 2016 The error is in the log: 2016-10-06 20:21:41.9255 Info App: [TVHclient] HTSConnectionHandler.ensureConnection: Used connection parameters: TVH Server = '192.168.178.11'; HTTP Port = '9981'; HTSP Port = '9982'; Web-Root = '192.168.178.11:9981'; User = 'admin'; Password set = 'True' You set the new Web-Root parameter to the wrong value. The complete URL will be build like: <server-name>:<port><webRoot> Therefore your URL looks like http://192.168.178.11:9981192.168.178.11:9981 Add a / as Webroot if you don't have redirected the tvheadend server. If your URL is <server-name>:<port>/myredirectpath your Web-Root must be set to "/myredirectpath" -- Tolotos Hi Tolotos, i think this was from testing everything. But thats not the Problem. When the Webroot is set to / it is also not working. With previous Version everything works fine. See the attachments for some screenshots and logs. thanks ffmpeg-transcode.txt server.txt
panchon 0 Posted October 11, 2016 Posted October 11, 2016 Hi, i have the same problem. Emby doesn't reproduce the tv channels. In the ffmpeg log appears this: ffmpeg version N-80901-gfebc862 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab libavutil 55. 28.100 / 55. 28.100 libavcodec 57. 48.101 / 57. 48.101 libavformat 57. 41.100 / 57. 41.100 libavdevice 57. 0.102 / 57. 0.102 libavfilter 6. 47.100 / 6. 47.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 1.100 / 2. 1.100 libpostproc 54. 0.100 / 54. 0.100 [http @ 0x3e2b780] HTTP error 401 Unauthorized http://192.168.66.200:9981//stream/channelid/1077598079?ticket=47AB0D9878CAC5C6BFF68E9E0FA0E74AFEC8CB3A: Server returned 401 Unauthorized (authorization failed) It seems like the tvheadend doesn't give authorization to the emnby plugin. Anyone can help me! thank you.
Luke 42077 Posted October 11, 2016 Posted October 11, 2016 Hi, i have the same problem. Emby doesn't reproduce the tv channels. In the ffmpeg log appears this: ffmpeg version N-80901-gfebc862 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab libavutil 55. 28.100 / 55. 28.100 libavcodec 57. 48.101 / 57. 48.101 libavformat 57. 41.100 / 57. 41.100 libavdevice 57. 0.102 / 57. 0.102 libavfilter 6. 47.100 / 6. 47.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 1.100 / 2. 1.100 libpostproc 54. 0.100 / 54. 0.100 [http @ 0x3e2b780] HTTP error 401 Unauthorized http://192.168.66.200:9981//stream/channelid/1077598079?ticket=47AB0D9878CAC5C6BFF68E9E0FA0E74AFEC8CB3A: Server returned 401 Unauthorized (authorization failed) It seems like the tvheadend doesn't give authorization to the emnby plugin. Anyone can help me! thank you. I'm not a tvheadend expert but judging from the error it looks like you have not properly configured the plugin.
Tolotos 61 Posted October 11, 2016 Author Posted October 11, 2016 Can you please try with a empty webroot setting? There is a // in the path. This is working in my windows setup but maybe Unix is more restrictive to the correctness of URLs. -- Tolotos
chvb 1 Posted October 11, 2016 Posted October 11, 2016 Can you please try with a empty webroot setting? There is a // in the path. This is working in my windows setup but maybe Unix is more restrictive to the correctness of URLs. -- Tolotos Hi Tolotos, i've tried it. but no chance. He automatically set it back to "/".
Tolotos 61 Posted October 11, 2016 Author Posted October 11, 2016 Please try this version. It removes a trailing slash from the webroot internally. Can you describe your setup? Are your emby and tvheadend servers on the same local network? -- Tolotos TVHeadEnd.zip
gstuartj 40 Posted October 11, 2016 Posted October 11, 2016 Please try this version. It removes a trailing slash from the webroot internally. Can you describe your setup? Are your emby and tvheadend servers on the same local network? -- Tolotos I also had the issue with not being able to play live TV channels since the webroot option was added. I can confirm that the plugin version you posted (1.0.6128.37305) is working for me again in a purely Debian 8 environment.
Tolotos 61 Posted October 11, 2016 Author Posted October 11, 2016 @@gstuartj Thank you for the quick reply. The new version is in the catalog now. -- Tolotos
chvb 1 Posted October 12, 2016 Posted October 12, 2016 (edited) Thanks for the new Version. It's working again. I'm using a tvheadend docker and emby docker on a UNRAID System. Containers are in same Network. many thanks. Edited October 12, 2016 by chvb
schumi2004 9 Posted October 13, 2016 Posted October 13, 2016 Just got Emby Server running for 1 day (my Synology wasn't supported earlier) and got it almost 100% configured i think but already noticed a lot of issues related to TVHeadend. Installed the plugin and after i let it do it's thing overnight (grabbing epg, fetching icons, sort channels etc) i got a play with it and noticed the following things. - Channel numbers. My provider provides SD and HD channels, HD channels start from 1 and up SD channels are in the 900 series. For some reason Emby thinks he needs to renumber those SD channels to the same value as HD channels. So instead of having SD channels in the 900 range the all start from 1 as well. Why did Emby/or the plugin do this and why did it take the correct channel numbers from TVHeadend backend for others but not for those? - Missing EPG. EPG data is there in TVHeadend backend but is not displayed in EMby (see above image) - Unknown Channels. Some channels are named Unknown but do have a name in TVHeadend backend.
Tolotos 61 Posted October 17, 2016 Author Posted October 17, 2016 @@schumi2004 Can please post the emby logs please?
fc7 123 Posted October 19, 2016 Posted October 19, 2016 I'm posting this here as I'm unsure if it's a TVH plugin issue or Emby. The problem started a few days ago when updated Emby but also the TVH plugin got updated). The problem I have is that suddenly all the channels are out of order. The numbering is fine but the order is wrong since it's jumping from channel 1 to 3 (skipping 2), from 7 to 10 (skipping 8 and 9) and so on. It seems to be just a presentation issue since playback and everything else works just fine. Nothing changed on TVH side, I double checked the channel numbering just in case but it's ok. I'm attaching some screenshots that are self-explanatory if you need any other information just let me know: Same can be observed in the guide:
schumi2004 9 Posted October 20, 2016 Posted October 20, 2016 What kind of tuner do you have? I have a HDHomerun HDHR3-4DC @@schumi2004 Can please post the emby logs please? I can upload logfiles but i need to re-enable tuners etc since i disabled it. The reason i disabled it was that i didn't got a LiveTV menu item when using LiveTV via Emby the same way you would get a menu item if you did it the "old" way using LiveTv in Kodi. (http://kodi.wiki/view/Live_TV) In short, i didn't get the LiveTV and Radio item on the left as seen in screenshot here: I will enable it this weekend and do some more testing since in the mean time Emby server en addon has been updated a few times now, maybe something has changed for my setup and will work better now.
monotok 7 Posted October 22, 2016 Posted October 22, 2016 Hello All, Equipment: HDHomerun UK (Two Tuners) Emby (3.0.8300.0) Done it with previous version too. TVHClient 1.0.6128.37305 for Emby TVHeadend 4.0.9-5~g4749320~vivid I have noticed a strange issue within emby relating to the guide via TVHeadend. I had Tvheadend getting the OTA guide data as it was simple to set up in the settings. I then added it to Emby, I could watch the channels, view the guide etc but the channel names do not appear in the guide, just the number which is not very useful. Clicking on it takes me to the channel page which displays its name. They all have their names on the channel view too. This works fine within Kodi. I then struggled but finally got XMLTV via Schedules Direct working with TVHeadend. All the icons got updated (some manually) and seemed to work. Kodi now displays the channel icons in the guide and Emby displays more information in terms of recommended movies etc. However there is no channel icons or names within the guide. Channel icon do not appear anywhere in Emby. I noticed within this thread that channel names appear and so do icons for other people. Is there something that I am missing? Thanks!
Luke 42077 Posted October 22, 2016 Posted October 22, 2016 It's supposed to be showing the channel image, but the image request is probably failing @@Tolotos, might be related to the image format thing. You need to remove all use of GDI from the plugin.
monotok 7 Posted October 23, 2016 Posted October 23, 2016 (edited) Hi, Thanks for the quick reply, how would I do that or was that aimed at Tolotos? The channel URL is https if it makes a difference. Edited October 23, 2016 by monotok
gstuartj 40 Posted October 23, 2016 Posted October 23, 2016 @@schumi2004, the Emby Kodi add-on only has very basic support for live TV through Emby, and does not integrate with Kodi's live TV features. You won't get those menu entries from just using the Emby add-on. Most people use the TVHeadend/HDHomerun add-ons for Kodi and connect to the tuner directly. Recordings are still shared with Emby.
Luke 42077 Posted October 23, 2016 Posted October 23, 2016 If you have an HD homerun i would strongly suggest using the built in features without the tv headend plugin. Were you aware though can do that?
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