horstepipe 356 Posted March 23, 2016 Share Posted March 23, 2016 hey I successfully setup live tv in emby. Next step was to test it with Kodi, unfortunately I'm getting an error when I press "Live TV Channels (experimental) Yes, I know what experimental means :-D But maybe there is already a way to make this work? 22:36:21 T:25268 NOTICE: Using Image Cache Thread Count: 0 -> 1 22:36:21 T:25268 NOTICE: plugin.video.emby started 22:36:21 T:25268 NOTICE: Parameter string: ?folderid=root&mode=browsecontent&type=tvchannels 22:36:21 T:25268 NOTICE: Using Image Cache Thread Count: 0 -> 1 22:36:21 T:25268 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.AttributeError'> Error Contents: 'NoneType' object has no attribute 'decode' Traceback (most recent call last): File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\default.py", line 151, in <module> Main() File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\default.py", line 93, in __init__ modes[mode]( itemid, params.get('type',[""])[0], params.get('folderid',[""])[0] ) File "C:\Users\horstepipe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\entrypoint.py", line 512, in BrowseContent utils.logMsg("BrowseContent","viewname: %s - type: %s - folderid: %s - filter: %s" %(viewname.decode('utf-8'), type.decode('utf-8'), folderid.decode('utf-8'), filter.decode('utf-8'))) AttributeError: 'NoneType' object has no attribute 'decode' -->End of Python script error report<-- 22:36:21 T:24968 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.emby/?folderid=root&mode=browsecontent&type=tvchannels 22:36:21 T:24968 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.emby/?folderid=root&mode=browsecontent&type=tvchannels) failed 22:36:21 T:22472 NOTICE: Using Image Cache Thread Count: 0 -> 1 22:36:21 T:22472 NOTICE: plugin.video.emby started 22:36:21 T:22472 NOTICE: Parameter string: ?content_type=video 22:36:21 T:22472 NOTICE: plugin.video.emby stopped Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted March 23, 2016 Share Posted March 23, 2016 Yeah. It's fixable. I was fixing another issue, didn't realise it would cause this problem now. Sent from my iPhone using Tapatalk 1 Link to comment Share on other sites More sharing options...
horstepipe 356 Posted March 23, 2016 Author Share Posted March 23, 2016 nice, is this problem caused by emby server or by the Kodi plugin? Or, different asked, do I have to run the Emby for Kodi Beta plugin to get the fix as quick as possible? At the moment I'm running server beta and Kodi plugin stable version. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted March 23, 2016 Share Posted March 23, 2016 I will fix it, the issue lies in the add-on. Give me a few. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Solution Angelblue05 4130 Posted March 23, 2016 Solution Share Posted March 23, 2016 @@horstepipe Give this a go, let me know. 1 Link to comment Share on other sites More sharing options...
horstepipe 356 Posted March 23, 2016 Author Share Posted March 23, 2016 nice, works. Can I keep this version? Two little things: Channels are sorted alphabetically, is there a way to change this? Where can I set the transcoding quality for Kodi live tv? Thank you! Link to comment Share on other sites More sharing options...
horstepipe 356 Posted March 23, 2016 Author Share Posted March 23, 2016 hey, me again :-) unfortuantely channel switching does not work. I started watching one channel, but even after a kodi restart always the same channel starts doesn't matter which one I choose Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted March 24, 2016 Share Posted March 24, 2016 Yeah, the support for it is very limited. @@marcelveldt 1 Link to comment Share on other sites More sharing options...
SkyBehind 23 Posted March 29, 2016 Share Posted March 29, 2016 So I still have the issue of the transcoding process not being terminated after I stop playing Live TV. I know this was a problem in the past and it was reported as fixed, but it's never been fixed for me. I did just install the Emby Alpha version attached in this thread. Can you help? Below are my logs. http://localhost:8096/emby/Videos/3e7016ba6205a713f7874bd188f42fe0/live.m3u8?static=true{"Protocol":"Http","Id":"1474c28c7808415a8580d0cc0bd92102native","Path":"http://192.168.1.118:5004/auto/v36.2","Type":"Default","Container":"ts","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"BufferMs":0,"MediaStreams":[{"Codec":"mpeg2video","IsInterlaced":true,"IsDefault":false,"IsForced":false,"Type":"Video","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false},{"Codec":"ac3","IsInterlaced":false,"BitRate":192000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":192000,"RequiredHttpHeaders":{}}/var/lib/emby-server/ffmpeg/20160215/ffmpeg -fflags +genpts -i "http://192.168.1.118:5004/auto/v36.2"-map_metadata -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -vsync vfr -force_key_frames "expr:gte(t,n_forced*3)" -vf "yadif=0:-1:0" -sc_threshold 0 -codec:a:0 copy -hls_time 3 -start_number 0 -hls_list_size 0 -hls_base_url "hls/763c120330cb14dfb2da4a1d1be739bd/" -y "/var/lib/emby-server/transcoding-temp/763c120330cb14dfb2da4a1d1be739bd.m3u8" ffmpeg version N-52954-g295de3e-static http://johnvansickle.com/ffmpeg/ Copyright © 2000-2016 the FFmpeg developers built with gcc 5.3.1 (Debian 5.3.1-8) 20160205configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libmfx --cc=gcclibavutil 55. 17.103 / 55. 17.103libavcodec 57. 24.102 / 57. 24.102libavformat 57. 25.100 / 57. 25.100libavdevice 57. 0.101 / 57. 0.101libavfilter 6. 31.100 / 6. 31.100libswscale 4. 0.100 / 4. 0.100libswresample 2. 0.101 / 2. 0.101libpostproc 54. 0.100 / 54. 0.100[mpeg2video @ 0x4f26120] Invalid frame dimensions 0x0.Last message repeated 19 timesInput #0, mpegts, from 'http://192.168.1.118:5004/auto/v36.2':Duration: N/A, start: 22261.517633, bitrate: N/AProgram 4Stream #0:0[0x41]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 1280x720 [sAR 1:1 DAR 16:9], Closed Captions, max. 24000 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbcStream #0:1[0x44](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/sStream #0:2[0x45](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s (visual impaired)[libx264 @ 0x54dfd80] using SAR=1/1[libx264 @ 0x54dfd80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX[libx264 @ 0x54dfd80] profile High, level 3.2Output #0, hls, to '/var/lib/emby-server/transcoding-temp/763c120330cb14dfb2da4a1d1be739bd.m3u8':Metadata:encoder : Lavf57.25.100Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [sAR 1:1 DAR 16:9], q=-1--1, 59.94 fps, 90k tbn, 59.94 tbcMetadata:encoder : Lavc57.24.102 libx264Side data:unknown side data type 10 (24 bytes)Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), 384 kb/sStream mapping:Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))Stream #0:1 -> #0:1 (copy)Press [q] to stop, [?] for helpframe= 123 fps=0.0 q=24.0 size=N/A time=00:00:02.27 bitrate=N/A speed= 4.5xframe= 242 fps=241 q=22.0 size=N/A time=00:00:04.32 bitrate=N/A speed= 4.3xframe= 320 fps=213 q=25.0 size=N/A time=00:00:05.76 bitrate=N/A speed=3.83xframe= 355 fps=166 q=24.0 size=N/A time=00:00:06.30 bitrate=N/A speed=2.95xframe= 393 fps=149 q=25.0 size=N/A time=00:00:06.88 bitrate=N/A speed=2.61xframe= 419 fps=133 q=24.0 size=N/A time=00:00:07.36 bitrate=N/A speed=2.34xframe= 447 fps=122 q=23.0 size=N/A time=00:00:07.84 bitrate=N/A speed=2.14xframe= 484 fps=116 q=24.0 size=N/A time=00:00:08.32 bitrate=N/A speed= 2xframe= 510 fps=109 q=23.0 size=N/A time=00:00:08.80 bitrate=N/A speed=1.88xframe= 536 fps=104 q=25.0 size=N/A time=00:00:09.31 bitrate=N/A speed= 1.8xframe= 574 fps=101 q=23.0 size=N/A time=00:00:09.92 bitrate=N/A speed=1.74xframe= 600 fps= 97 q=26.0 size=N/A time=00:00:10.40 bitrate=N/A speed=1.68xframe= 631 fps= 93 q=24.0 size=N/A time=00:00:10.94 bitrate=N/A speed=1.61xframe= 672 fps= 92 q=25.0 size=N/A time=00:00:11.52 bitrate=N/A speed=1.58xframe= 699 fps= 89 q=27.0 size=N/A time=00:00:12.00 bitrate=N/A speed=1.54xframe= 725 fps= 87 q=25.0 size=N/A time=00:00:12.48 bitrate=N/A speed= 1.5xframe= 762 fps= 86 q=22.0 size=N/A time=00:00:12.96 bitrate=N/A speed=1.47xframe= 790 fps= 85 q=23.0 size=N/A time=00:00:13.47 bitrate=N/A speed=1.44xframe= 818 fps= 83 q=22.0 size=N/A time=00:00:14.08 bitrate=N/A speed=1.43xframe= 856 fps= 83 q=24.0 size=N/A time=00:00:14.59 bitrate=N/A speed=1.41xframe= 882 fps= 81 q=24.0 size=N/A time=00:00:15.04 bitrate=N/A speed=1.38xframe= 909 fps= 80 q=24.0 size=N/A time=00:00:15.52 bitrate=N/A speed=1.37xframe= 946 fps= 80 q=22.0 size=N/A time=00:00:16.06 bitrate=N/A speed=1.35xframe= 978 fps= 79 q=22.0 size=N/A time=00:00:16.64 bitrate=N/A speed=1.34xframe= 1004 fps= 78 q=25.0 size=N/A time=00:00:17.12 bitrate=N/A speed=1.33xframe= 1036 fps= 77 q=24.0 size=N/A time=00:00:17.66 bitrate=N/A speed=1.31xframe= 1074 fps= 77 q=24.0 size=N/A time=00:00:18.24 bitrate=N/A speed= 1.3xframe= 1101 fps= 76 q=22.0 size=N/A time=00:00:18.72 bitrate=N/A speed=1.29xframe= 1129 fps= 75 q=22.0 size=N/A time=00:00:19.20 bitrate=N/A speed=1.28xframe= 1164 fps= 75 q=25.0 size=N/A time=00:00:19.68 bitrate=N/A speed=1.27xframe= 1194 fps= 74 q=23.0 size=N/A time=00:00:20.16 bitrate=N/A speed=1.26xframe= 1221 fps= 74 q=22.0 size=N/A time=00:00:20.80 bitrate=N/A speed=1.25xframe= 1258 fps= 74 q=23.0 size=N/A time=00:00:21.28 bitrate=N/A speed=1.25xframe= 1285 fps= 73 q=24.0 size=N/A time=00:00:21.76 bitrate=N/A speed=1.24xframe= 1311 fps= 72 q=23.0 size=N/A time=00:00:22.24 bitrate=N/A speed=1.23xframe= 1350 fps= 73 q=22.0 size=N/A time=00:00:22.72 bitrate=N/A speed=1.22xframe= 1378 fps= 72 q=22.0 size=N/A time=00:00:23.36 bitrate=N/A speed=1.22xframe= 1406 fps= 72 q=23.0 size=N/A time=00:00:23.84 bitrate=N/A speed=1.21xframe= 1441 fps= 71 q=22.0 size=N/A time=00:00:24.38 bitrate=N/A speed=1.21xframe= 1469 fps= 71 q=26.0 size=N/A time=00:00:24.96 bitrate=N/A speed= 1.2xframe= 1505 fps= 71 q=31.0 size=N/A time=00:00:25.44 bitrate=N/A speed= 1.2xframe= 1538 fps= 71 q=22.0 size=N/A time=00:00:25.92 bitrate=N/A speed=1.19xframe= 1566 fps= 70 q=23.0 size=N/A time=00:00:26.40 bitrate=N/A speed=1.19xframe= 1593 fps= 70 q=26.0 size=N/A time=00:00:26.88 bitrate=N/A speed=1.18xframe= 1625 fps= 70 q=24.0 size=N/A time=00:00:27.39 bitrate=N/A speed=1.18xframe= 1655 fps= 70 q=24.0 size=N/A time=00:00:28.00 bitrate=N/A speed=1.18xframe= 1683 fps= 69 q=25.0 size=N/A time=00:00:28.48 bitrate=N/A speed=1.17xframe= 1717 fps= 69 q=23.0 size=N/A time=00:00:28.96 bitrate=N/A speed=1.17xframe= 1751 fps= 69 q=25.0 size=N/A time=00:00:29.60 bitrate=N/A speed=1.17xframe= 1780 fps= 69 q=28.0 size=N/A time=00:00:30.08 bitrate=N/A speed=1.16xframe= 1791 fps= 69 q=-1.0 Lsize=N/A time=00:00:30.38 bitrate=N/A speed=1.17xvideo:12887kB audio:1418kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown[libx264 @ 0x54dfd80] frame I:11 Avg QP:19.88 size: 90688[libx264 @ 0x54dfd80] frame P:460 Avg QP:20.60 size: 14007[libx264 @ 0x54dfd80] frame B:1320 Avg QP:21.65 size: 4360[libx264 @ 0x54dfd80] consecutive B-frames: 0.8% 2.2% 1.3% 95.6%[libx264 @ 0x54dfd80] mb I I16..4: 21.1% 31.4% 47.5%[libx264 @ 0x54dfd80] mb P I16..4: 4.2% 1.9% 0.7% P16..4: 38.6% 0.0% 0.0% 0.0% 0.0% skip:54.6%[libx264 @ 0x54dfd80] mb B I16..4: 0.2% 0.2% 0.0% B16..8: 7.1% 0.0% 0.0% direct:15.9% skip:76.6% L0:30.4% L1:49.5% BI:20.0%[libx264 @ 0x54dfd80] 8x8 transform intra:29.7% inter:42.2%[libx264 @ 0x54dfd80] coded y,uvDC,uvAC intra: 41.4% 81.4% 57.0% inter: 6.4% 16.3% 0.9%[libx264 @ 0x54dfd80] i16 v,h,dc,p: 59% 30% 8% 3%[libx264 @ 0x54dfd80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 23% 22% 7% 5% 5% 8% 5% 10%[libx264 @ 0x54dfd80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 27% 13% 7% 5% 6% 5% 6% 6%[libx264 @ 0x54dfd80] i8c dc,h,v,p: 31% 32% 27% 11%[libx264 @ 0x54dfd80] Weighted P-Frames: Y:0.0% UV:0.0%[libx264 @ 0x54dfd80] kb/s:3533.24Exiting normally, received signal 15. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted March 29, 2016 Share Posted March 29, 2016 Post your Kodi log, thanks. http://emby.media/community/index.php?/topic/17599-how-to-report-a-problem/ Link to comment Share on other sites More sharing options...
a6345 0 Posted April 16, 2016 Share Posted April 16, 2016 I'm having a similar issue. I am using v2.2.10 of the plugin in the Emby beta repository on Kodi. Live tv works fine from the android and web clients. Is this a plugin problem or something else? here is my log. Thanks 20:24:28 38379.269531 T:1356854336 NOTICE: -->Python Interpreter Initialized<-- 20:24:29 38379.937500 T:1356854336 NOTICE: Using Image Cache Thread Count: 0 -> 1 20:24:29 38379.941406 T:1356854336 NOTICE: plugin.video.emby started 20:24:29 38379.941406 T:1356854336 NOTICE: Parameter string: ?folderid=root&mode=browsecontent&type=recordings 20:24:29 38379.949219 T:1356854336 NOTICE: Using Image Cache Thread Count: 0 -> 1 20:24:29 38379.960938 T:1356854336 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.AttributeError'> Error Contents: 'NoneType' object has no attribute 'decode' Traceback (most recent call last): File "/storage/.kodi/addons/plugin.video.emby/default.py", line 151, in <module> Main() File "/storage/.kodi/addons/plugin.video.emby/default.py", line 93, in __init__ modes[mode]( itemid, params.get('type',[""])[0], params.get('folderid',[""])[0] ) File "/storage/.kodi/addons/plugin.video.emby/resources/lib/entrypoint.py", line 512, in BrowseContent utils.logMsg("BrowseContent","viewname: %s - type: %s - folderid: %s - filter: %s" %(viewname.decode('utf-8'), type.decode('utf-8'), folderid.decode('utf-8'), filter.decode('utf-8'))) AttributeError: 'NoneType' object has no attribute 'decode' -->End of Python script error report<-- 20:24:29 38380.160156 T:1967259648 ERROR: GetDirectory - Error getting plugin://plugin.video.emby/?folderid=root&mode=browsecontent&type=recordings 20:24:29 38380.164062 T:1967259648 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.emby/?folderid=root&mode=browsecontent&type=recordings) failed 20:24:29 38380.164062 T:1356854336 NOTICE: Thread LanguageInvoker start, auto delete: false 20:24:29 38380.238281 T:1356854336 NOTICE: -->Python Interpreter Initialized<-- Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted April 16, 2016 Share Posted April 16, 2016 (edited) @@a6345 Use the build here (the post marked as best answer....): http://emby.media/community/index.php?/topic/33014-live-tv-already-supported-in-kodi/&do=findComment&comment=315155 The fix will be in the next beta build, whenever that is. Edited April 16, 2016 by Angelblue05 Link to comment Share on other sites More sharing options...
Recommended Posts