FrostByte 5392 Posted September 12, 2024 Posted September 12, 2024 On 9/3/2024 at 10:52 PM, quickmic said: Do you have the files in different subfolders located? Never tested this case, but might be the same issue. I tested this case, without path substitution works fine for me. Did you review the paths in the logs? @quickmic There's another way to make it work until Luke can fix it in beta server. Use path substitution in Kodi advancedsettings.xml I just added the same paths I use in Emby server and let Kodi do the substitution instead. Been working for me in my testing with the latest beta. Quote <pathsubstitution> <substitute> <from>/emby_addon_mode/</from> <to>http://127.0.0.1:57342/|redirect-limit=1000</to> </substitute> <substitute> <from>/volume1/MyEmbyMedia/Movies/</from> <to>/storage/MEDIA-SERVER/MyEmbyMedia/Movies/</to> </substitute> </pathsubstitution> 1
sfatula 207 Posted September 12, 2024 Posted September 12, 2024 11 hours ago, quickmic said: I'll check it, but the issue you reported in 10.X seems to be fixed? Yes, that problem indeed went away. I will try the enabling of all options tonight per your follow up post. 1
quickmic 1703 Posted September 13, 2024 Author Posted September 13, 2024 (edited) 5 hours ago, FrostByte said: @quickmic There's another way to make it work until Luke can fix it in beta server. Use path substitution in Kodi advancedsettings.xml I just added the same paths I use in Emby server and let Kodi do the substitution instead. Been working for me in my testing with the latest beta. Good thinking, I didn't Only issue is when you delete a folder on Emby server. In this case only the folder is reported to the plugin and the plugin does a database lookup for the corresponding content (by folder and content parentId). -> Plugin will not catch the substituted content, if the parent id is also different. -> edge case. Edited September 13, 2024 by quickmic 1
quickmic 1703 Posted September 13, 2024 Author Posted September 13, 2024 8 hours ago, voodoo5_6k said: However, for some reason, with 11.X emby server would constantly complain that the access token is expired. Did you perform a factory reset (or started with a fresh installation on 11.X)? Sounds something is work with your login credentials. Do you use multiserver? If so, maybe the second account is wrong. You could send me a kodi.log for review.
sfatula 207 Posted September 13, 2024 Posted September 13, 2024 Got past everything now except for live tv. Getting errors and all the live tv screens are simply empty. Enabled livetv in nextgen via services configure, iptv simple loaded. Here's what I get: 2024-09-13 00:26:54.156 T:3065 error <general>: Exception ignored in thread started by 2024-09-13 00:26:54.156 T:3065 error <general>: : 2024-09-13 00:26:54.156 T:3065 error <general>: <bound method Library.SyncLiveTV of <database.library.Library object at 0xd3713178>> 2024-09-13 00:26:54.156 T:3065 error <general>: 2024-09-13 00:26:54.156 T:3065 error <general>: Traceback (most recent call last): 2024-09-13 00:26:54.156 T:3065 error <general>: File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/database/library.py", line 1313, in SyncLiveTV 2024-09-13 00:26:54.159 T:3065 error <general>: 2024-09-13 00:26:54.159 T:3065 error <general>: Channels = self.EmbyServer.API.get_channels() 2024-09-13 00:26:54.159 T:3065 error <general>: 2024-09-13 00:26:54.159 T:3065 error <general>: File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/api.py", line 640, in get_channels 2024-09-13 00:26:54.161 T:3065 error <general>: 2024-09-13 00:26:54.161 T:3065 error <general>: _, _, Payload = self.EmbyServer.http.request("GET", "LiveTv/Channels", {'UserId': self.EmbyServer.ServerData['UserId'], 'EnableImages': True, 'EnableUserData': True, 'Fields': ",".join(EmbyFields['tvchannel'])}, {}, False, "", False) 2024-09-13 00:26:54.161 T:3065 error <general>: 2024-09-13 00:26:54.161 T:3065 error <general>: File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/http.py", line 619, in request 2024-09-13 00:26:54.162 T:3065 error <general>: 2024-09-13 00:26:54.162 T:3065 error <general>: self.send_request(Method, Handler, Params, RequestHeader, Binary, ConnectionString, CloseConnection, ConnectionId, RequestId, None) 2024-09-13 00:26:54.162 T:3065 error <general>: 2024-09-13 00:26:54.162 T:3065 error <general>: File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/http.py", line 703, in send_request 2024-09-13 00:26:54.164 T:3065 error <general>: 2024-09-13 00:26:54.164 T:3065 error <general>: StatusCode, Header, Payload = self.socket_request(Method, Handler, Params, Binary, 10, 300, ConnectionId, "", 0, "") 2024-09-13 00:26:54.164 T:3065 error <general>: 2024-09-13 00:26:54.164 T:3065 error <general>: File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/http.py", line 490, in socket_request 2024-09-13 00:26:54.165 T:3065 error <general>: 2024-09-13 00:26:54.165 T:3065 error <general>: PayloadTotal = zlib.decompress(PayloadTotal, zlib.MAX_WBITS|32) 2024-09-13 00:26:54.165 T:3065 error <general>: 2024-09-13 00:26:54.165 T:3065 error <general>: zlib 2024-09-13 00:26:54.165 T:3065 error <general>: . 2024-09-13 00:26:54.165 T:3065 error <general>: error 2024-09-13 00:26:54.165 T:3065 error <general>: : 2024-09-13 00:26:54.165 T:3065 error <general>: Error -5 while decompressing data: incomplete or truncated stream 2024-09-13 00:26:54.165 T:3065 error <general>:
quickmic 1703 Posted September 13, 2024 Author Posted September 13, 2024 2 hours ago, sfatula said: Got past everything now except for live tv. Getting errors and all the live tv screens are simply empty. Enabled livetv in nextgen via services configure, iptv simple loaded. Here's what I get: 2024-09-13 00:26:54.156 T:3065 error <general>: Exception ignored in thread started by 2024-09-13 00:26:54.156 T:3065 error <general>: : 2024-09-13 00:26:54.156 T:3065 error <general>: <bound method Library.SyncLiveTV of <database.library.Library object at 0xd3713178>> 2024-09-13 00:26:54.156 T:3065 error <general>: 2024-09-13 00:26:54.156 T:3065 error <general>: Traceback (most recent call last): 2024-09-13 00:26:54.156 T:3065 error <general>: File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/database/library.py", line 1313, in SyncLiveTV 2024-09-13 00:26:54.159 T:3065 error <general>: 2024-09-13 00:26:54.159 T:3065 error <general>: Channels = self.EmbyServer.API.get_channels() 2024-09-13 00:26:54.159 T:3065 error <general>: 2024-09-13 00:26:54.159 T:3065 error <general>: File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/api.py", line 640, in get_channels 2024-09-13 00:26:54.161 T:3065 error <general>: 2024-09-13 00:26:54.161 T:3065 error <general>: _, _, Payload = self.EmbyServer.http.request("GET", "LiveTv/Channels", {'UserId': self.EmbyServer.ServerData['UserId'], 'EnableImages': True, 'EnableUserData': True, 'Fields': ",".join(EmbyFields['tvchannel'])}, {}, False, "", False) 2024-09-13 00:26:54.161 T:3065 error <general>: 2024-09-13 00:26:54.161 T:3065 error <general>: File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/http.py", line 619, in request 2024-09-13 00:26:54.162 T:3065 error <general>: 2024-09-13 00:26:54.162 T:3065 error <general>: self.send_request(Method, Handler, Params, RequestHeader, Binary, ConnectionString, CloseConnection, ConnectionId, RequestId, None) 2024-09-13 00:26:54.162 T:3065 error <general>: 2024-09-13 00:26:54.162 T:3065 error <general>: File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/http.py", line 703, in send_request 2024-09-13 00:26:54.164 T:3065 error <general>: 2024-09-13 00:26:54.164 T:3065 error <general>: StatusCode, Header, Payload = self.socket_request(Method, Handler, Params, Binary, 10, 300, ConnectionId, "", 0, "") 2024-09-13 00:26:54.164 T:3065 error <general>: 2024-09-13 00:26:54.164 T:3065 error <general>: File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/http.py", line 490, in socket_request 2024-09-13 00:26:54.165 T:3065 error <general>: 2024-09-13 00:26:54.165 T:3065 error <general>: PayloadTotal = zlib.decompress(PayloadTotal, zlib.MAX_WBITS|32) 2024-09-13 00:26:54.165 T:3065 error <general>: 2024-09-13 00:26:54.165 T:3065 error <general>: zlib 2024-09-13 00:26:54.165 T:3065 error <general>: . 2024-09-13 00:26:54.165 T:3065 error <general>: error 2024-09-13 00:26:54.165 T:3065 error <general>: : 2024-09-13 00:26:54.165 T:3065 error <general>: Error -5 while decompressing data: incomplete or truncated stream 2024-09-13 00:26:54.165 T:3065 error <general>: To debug this issue, I would need a test account on your server.
quickmic 1703 Posted September 13, 2024 Author Posted September 13, 2024 (edited) New PUBLIC TESTING version available 11.0.8: Delta changelog 11.0.7 -> 11.0.8 keep plugin settings on forced database resets keep Kodi native favorites favorites toggle option syncs favorites fix dynamic node issue when "dynamic libraries" configuration options set to off add de duplicate function Edited September 13, 2024 by quickmic
sfatula 207 Posted September 13, 2024 Posted September 13, 2024 (edited) 10 hours ago, quickmic said: To debug this issue, I would need a test account on your server. I am behind CGNAT so that poses a problem unless you have a method to get around. You good with Wireguard? I have a wireguard network set up. Or, maybe some sort of remote control would work. Edited September 13, 2024 by sfatula
quickmic 1703 Posted September 13, 2024 Author Posted September 13, 2024 (edited) 2 hours ago, sfatula said: I am behind CGNAT so that poses a problem unless you have a method to get around. You good with Wireguard? I have a wireguard network set up. Or, maybe some sort of remote control would work. No I don't use Wireguard. Actually the issue you reported is related to some networking edge case I cannot test on my setup. Also no guarantee I could reproduce the issue on your server but that's all I could offer at the moment. The issue reflects truncated http frames for some reason. Edited September 13, 2024 by quickmic
sfatula 207 Posted September 13, 2024 Posted September 13, 2024 (edited) 3 hours ago, quickmic said: No I don't use Wireguard. Actually the issue you reported is related to some networking edge case I cannot test on my setup. Also no guarantee I could reproduce the issue on your server but that's all I could offer at the moment. The issue reflects truncated http frames for some reason. What remote control software have you used? Some dial out and thus allow you to connect in to control a machine, this would be some other machine that can connect to the nextgen machine via shell or http or whatever. Note this worked fine on Kodi 20 and nextgen 10.0.6 Edited September 13, 2024 by sfatula
sfatula 207 Posted September 14, 2024 Posted September 14, 2024 Update - I was able to get live tv using the default skin, so will resolve on my own one way or another. 1
quickmic 1703 Posted September 14, 2024 Author Posted September 14, 2024 3 minutes ago, sfatula said: Update - I was able to get live tv using the default skin, so will resolve on my own one way or another. Which skin caused the issue?
sfatula 207 Posted September 14, 2024 Posted September 14, 2024 10 minutes ago, quickmic said: Which skin caused the issue? I don't know if it was the skin yet, going to investigate more, but it was Aeon Nox Silvo. 1
sfatula 207 Posted September 14, 2024 Posted September 14, 2024 What might be wrong, you tell me, is iptv simple shows no m3u playlist url, location is a remote path. When it was working, that showed a special local path. I reset kodi back to default, reloaded with default skin, and, iptv simple still doesn't show a local path. Could that be the issue? Is there a specific order to install this? Iptv simple comes installed but disabled. I install from zip files per post 1 in the order shown, so, service first. But I can't get iptv simple config right, it shows a config named migrated add-on config.
quickmic 1703 Posted September 14, 2024 Author Posted September 14, 2024 Did you enable livetv in next-gen's library configuration? Actually, there is nothing to configure in iptv simple's config. The plugin das that for you, wen livetv is enabled. If you delete or reinstalled iptv simple, probably toggle the enable option.
sfatula 207 Posted September 14, 2024 Posted September 14, 2024 (edited) I saw a post last night while searching from you from years ago where someone asked about pvr never starting up, and in it you say there were only 2 possible reasons, and one of them was the path was not being set in iptv simple, that's where my question comes from. So, I see in an old good copy of kodi running live tv with nextgen that this is set in the iptv simple xml config file: <setting id="m3uPath">special://profile/addon_data/plugin.video.emby-next-gen/temp/58ee2c73bca64a85a5823ea5ee012868-livetv.m3u</setting> <setting id="epgUrl">http://127.0.0.1:57342/epg/58ee2c73bca64a85a5823ea5ee012868/E-data.epg</setting> Those are getting set by the nextgen addon somewhere, that is the part that seems to not be happening and I presume the problem. Yes, I am turning on in manage libraries "enable livetv", but, that screen looks weird as after you enable it, the only option is cancel, no ok. So, I am guessing that process is what is the potential cause. Edited September 14, 2024 by sfatula
quickmic 1703 Posted September 14, 2024 Author Posted September 14, 2024 (edited) 37 minutes ago, sfatula said: I saw a post last night while searching from you from years ago where someone asked about pvr never starting up, and in it you say there were only 2 possible reasons, and one of them was the path was not being set in iptv simple, that's where my question comes from. So, I see in an old good copy of kodi running live tv with nextgen that this is set in the iptv simple xml config file: <setting id="m3uPath">special://profile/addon_data/plugin.video.emby-next-gen/temp/58ee2c73bca64a85a5823ea5ee012868-livetv.m3u</setting> <setting id="epgUrl">http://127.0.0.1:57342/epg/58ee2c73bca64a85a5823ea5ee012868/E-data.epg</setting> Those are getting set by the nextgen addon somewhere, that is the part that seems to not be happening and I presume the problem. Yes, I am turning on in manage libraries "enable livetv", but, that screen looks weird as after you enable it, the only option is cancel, no ok. So, I am guessing that process is what is the potential cause. Cancel is fine, but after that you need to select Ok when you exit the config menu Edited September 14, 2024 by quickmic
sfatula 207 Posted September 14, 2024 Posted September 14, 2024 (edited) 4 minutes ago, quickmic said: Cancel is fine, but after that you need to select Ok when you exit the config menu Yep, do that, and it doesn't seem to set anything up near as I can tell. It does show to disable livetv if you go back in so does appear to set it, even after a reboot. But it isn't populating anything in iptv simple regarding the guide, channels, etc. Edited September 14, 2024 by sfatula
quickmic 1703 Posted September 14, 2024 Author Posted September 14, 2024 If you think there is something wrong, I need a kodi.log for review when the option livetv was toggled means. Disable, cancel, ok and Enable, cancel, ok.
quickmic 1703 Posted September 14, 2024 Author Posted September 14, 2024 btw, your last log exactly reported an issue when getting the channels: Channels = self.EmbyServer.API.get_channels() As mentioned, I need a test account for review.
sfatula 207 Posted September 15, 2024 Posted September 15, 2024 I had mentioned that I am behind cgnat, so, no public ip that can be used. I'll keep looking, I do not get the multimedia choice. Not sure I have the error reported previously, believe it's long gone. Will advise if I find anything.
quickmic 1703 Posted September 15, 2024 Author Posted September 15, 2024 (edited) 19 minutes ago, sfatula said: multimedia Multimedia is my server name, your's will be different. Edited September 15, 2024 by quickmic
sfatula 207 Posted September 15, 2024 Posted September 15, 2024 (edited) So, it appears it fails when using SSL, potentially (also) behind caddy. Everything else works for years via ssl, 6 clients on different platforms, remote via wireguard, emby, infuse, browser, even some api code I wrote to get data from emby, you name it. But something must cause failure with this addon. I can use non ssl locally. It fails every time I set it up clean from fresh install using ssl, works every time non ssl (and potentially due to no proxy). Edited September 15, 2024 by sfatula
quickmic 1703 Posted September 15, 2024 Author Posted September 15, 2024 (edited) 18 minutes ago, sfatula said: So, it appears it fails when using SSL, potentially (also) behind caddy. Everything else works for years via ssl, 6 clients on different platforms, remote via wireguard, emby, infuse, browser, even some api code I wrote to get data from emby, you name it. But something must cause failure with this addon. I can use non ssl locally. It fails every time I set it up clean from fresh install using ssl, works every time non ssl (and potentially due to no proxy). That's what I assume too. You have a special setup and I think I missed a case in the http communication. I use a low level (self written) http communication code based on pure socket I/O. Proxy is fine and tested (I use it myself), also cloudflare was tested and also fine. Redirects the same, also tested and works. SSL surly also tested. You use a different setup I haven't tested. Edited September 15, 2024 by quickmic 1
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