pannal / plex-for-kodi Goto Github PK
View Code? Open in Web Editor NEWThis project forked from plexinc/plex-for-kodi
Unoffical Plex for Kodi add-on releases.
License: GNU General Public License v2.0
This project forked from plexinc/plex-for-kodi
Unoffical Plex for Kodi add-on releases.
License: GNU General Public License v2.0
I have my DVR library set to the Personal Media agent.
(to prevent Plex trying to [mis-]match the recordings)
So, some of my recordings appear thusly:
(don't know why there is no thumbnail displayed. I do see a thumbnail in other clients.)
This item can be played without issue when I use the P
keyboard shortcut.
But if I enter the preplay page of it, I cannot do anything. Keyboard shortcuts seem to lose focus, because I still can hear the 'click' sound (when using the arrow key and Enter and Esc), but nothing happens and there is no 'focus' indicated.
Leaving this preplay screen is only possible by clicking on the 'Home' icon with the mouse.
mediainfo XML of the item in question:
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="99" librarySectionTitle="DVR Serie" librarySectionUUID="bca94e31-0382-4bb6-8ea0-d70f3bafee91" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1571197404">
<Video ratingKey="969307" key="/library/metadata/969307" parentRatingKey="956862" grandparentRatingKey="902295" guid="com.plexapp.agents.none://902295/2019/2019-10-22?lang=xn" parentGuid="com.plexapp.agents.none://902295/2019?lang=xn" grandparentGuid="com.plexapp.agents.none://902295?lang=xn" type="episode" title="Unbequem / Bodenlos" grandparentKey="/library/metadata/902295" parentKey="/library/metadata/956862" librarySectionTitle="DVR Serie" librarySectionID="99" librarySectionKey="/library/sections/99" grandparentTitle="Hannes und der Bürgermeister" parentTitle="Staffel 2019" summary="" parentIndex="2019" viewOffset="127491" lastViewedAt="1572186185" year="2019" thumb="/library/metadata/969307/thumb/1572104866" grandparentThumb="/library/metadata/902295/thumb/1571777115" duration="1788860" originallyAvailableAt="2019-10-22" addedAt="1571777098" updatedAt="1572104866" createdAtAccuracy="epoch" createdAtTZOffset="7200">
<Media id="1220889" duration="1788860" bitrate="3200" width="1920" height="1080" aspectRatio="1.78" audioChannels="2" audioCodec="aac_latm" videoCodec="hevc" videoResolution="1080" container="mpegts" audioProfile="lc" channelIdentifier="039" mediaGrabBeginsAt="1571774400" mediaGrabDevice="device://tv.plex.grabbers.hdhomerun/1250F622" mediaGrabStatus="complete" origin="dvr" videoProfile="main">
<Part accessible="1" exists="1" id="1223207" key="/library/parts/1223207/1571777098/file.ts" duration="1788860" file="D:\DVRserie4\Hannes und der Burgermeister (2014)\Season 2019\Hannes und der Burgermeister (1994) - 2019-10-22 14 00 00 - Unbequem Bodenlos.ts" size="715556952" audioProfile="lc" container="mpegts" deepAnalysisVersion="4" packetLength="188" requiredBandwidths="4600,3746,3321,3146,3146,3146,3146,3146" videoProfile="main">
<Stream id="1961350" streamType="1" codec="hevc" index="0" bitrate="3200" bitDepth="8" chromaSubsampling="4:2:0" codecID="HEVC" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="50.000" height="1080" level="123" profile="main" refFrames="1" requiredBandwidths="4247,3393,2969,2796,2796,2796,2796,2796" streamIdentifier="256" width="1920" displayTitle="1080p (HEVC Main)"/>
<Stream id="1961351" streamType="2" selected="1" codec="aac_latm" index="1" channels="2" language="Deutsch" languageCode="ger" audioChannelLayout="stereo" profile="lc" requiredBandwidths="256,256,256,256,256,256,256,256" samplingRate="48000" streamIdentifier="257" displayTitle="Deutsch (AAC_LATM Stereo)"/>
<Stream id="1961352" streamType="2" codec="aac_latm" index="2" channels="2" language="Deutsch" languageCode="ger" audioChannelLayout="stereo" profile="he-aac" requiredBandwidths="96,96,96,96,96,96,96,96" samplingRate="48000" streamIdentifier="258" displayTitle="Deutsch (AAC_LATM Stereo)"/>
</Part>
</Media>
<Genre id="65315" filter="genre=65315" tag="Other"/>
<Extras size="0"> </Extras>
</Video>
</MediaContainer>
Plex for Kodi is stalling on Kodi right at start
I believe the issue is related to Python 3.11
This is happening on LibreElec, Android and Android TV.
Please, have a look at these links:
Please, have a look at this. I love this addon.
Regards,
H.
I just reinstalled my Android TV STB and installed Kodi 19 RC with latest development build of plex for kodi.
Theme music not working whatever % I choose.
There is an album titled H₂O
in my library.
In P4K, the lower 2 is only shown as a rectangle:
(the screenshot is taken from the main page of the P4K, but the issue shows on other pages like the album preplay and the artist view as well)
This is working in other Plex clients:
(screenshot from web app)
Subtitles selection only show language, multiple subtitles with same language there's no way to distinguish from each other.
Hi.
With latest version, I've "System cpu usage" always showing when playing a video. I don't have debug enabled, and I don't have this when I play vidéos directly with kodi.
Android TV user, kodi 19 alpha.
Could you do a version bump? OSMC Repo dropped 0.2.0
Thanks!
I am trying to list movies in a large plex library (more than 200 movies)
the plugin cet stuck at various steps or various actions
below, everthing went ok until i tried to change the posters size (from large to small)
2023-10-14 16:49:13.512 T:2516 info : script.plex: Setting MemorySize to default 20971520
2023-10-14 16:49:14.074 T:2478 info : Loading skin file: /media/hdd/.kodi/addons/script.plexmod/resources/skins/Main/1080i/script-plex-background.xml, load type: LOAD_ON_GUI_INIT
2023-10-14 16:49:15.477 T:2478 info : Loading skin file: /media/hdd/.kodi/addons/script.plexmod/resources/skins/Main/1080i/script-plex-home.xml, load type: LOAD_ON_GUI_INIT
2023-10-14 16:49:15.928 T:2478 info : Loading skin file: /media/hdd/.kodi/addons/script.plexmod/resources/skins/Main/1080i/script-plex-busy.xml, load type: LOAD_ON_GUI_INIT
2023-10-14 16:49:26.308 T:2478 info : Loading skin file: /media/hdd/.kodi/addons/script.plexmod/resources/skins/Main/1080i/script-plex-blank.xml, load type: LOAD_ON_GUI_INIT
2023-10-14 16:49:26.470 T:2478 info : Loading skin file: /media/hdd/.kodi/addons/script.plexmod/resources/skins/Main/1080i/script-plex-posters.xml, load type: LOAD_ON_GUI_INIT
2023-10-14 16:49:26.611 T:2478 info : Loading skin file: /media/hdd/.kodi/addons/script.plexmod/resources/skins/Main/1080i/script-plex-busy.xml, load type: LOAD_ON_GUI_INIT
2023-10-14 16:49:36.485 T:2478 info : Skipped 1 duplicate messages..
2023-10-14 16:49:36.485 T:2478 info : Loading skin file: /media/hdd/.kodi/addons/script.plexmod/resources/skins/Main/1080i/script-plex-posters-small.xml, load type: LOAD_ON_GUI_INIT
Currently running LibreELEC 11.0.3 on a Pi4, addon version 0.5.3 from the Don't Panic repo.
The addon will not run at all for me. No message is displayed on the screen but this stacktrace appears in kodi.log:
2023-09-24 15:06:57.054 T:28824 error <general>: Control 55 in window 10001 has been asked to focus, but it can't
2023-09-24 15:06:57.756 T:8728 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/storage/.kodi/addons/script.plexmod/plugin.py", line 7, in <module>
from lib import _included_packages, plex, util
File "/storage/.kodi/addons/script.plexmod/lib/plex.py", line 14, in <module>
from . import util
File "/storage/.kodi/addons/script.plexmod/lib/util.py", line 46, in <module>
CHANNELMAPPING = dict((t["value"], t["label"]) for t in getChannelMapping())
^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/script.plexmod/lib/util.py", line 43, in getChannelMapping
return list(filter(lambda i: i["id"] == "audiooutput.channels", data))[0]["options"]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
-->End of Python script error report<--
2023-09-24 15:06:57.877 T:8727 error <general>: GetDirectory - Error getting plugin://script.plexmod/
2023-09-24 15:06:57.900 T:28824 error <general>: CGUIMediaWindow::GetDirectory(plugin://script.plexmod/) failed
I've tried a purging and reinstalling the addon, rebooting the device, and installing various other versions but nothing works.
Exact same issue as posted here: plexinc#343
Description:
Subtitles don't display for the first 10 seconds of the video, will "pop in" mid sentence exactly at 10 seconds. Subtitles are in the .mkv container. Happens with all subtitle types
Details:
Add-on version: 0.3.3
Kodi version: 19
OS Platform: Android TV
Hardware: Nvidia Shield 2020
When attempting to play a TV show with a detected intro under your develop_kodi19
branch with Kodi 19, an exception is thrown (pulled from kodi.log
):
File "C:\Users\MediaCenter\AppData\Roaming\Kodi\addons\script.plex\lib\_included_packages\plexnet\video.py", line 461, in intro
self._intro = (filter(lambda x: x.type == "intro", self.markers) or [False])[0]
TypeError: 'filter' object is not subscriptable
Looking up the error brings up some Stack Overflow answers saying that Python 3 made the return value of filter
an iterable instead of a list so the self._intro = ...
line needs to use list(filter(...))
instead.
Since about 2 1/2 weeks I’m not able to watch a stream.
I’m using a Android 10 tv-box with kodi 20 + PM4K 0.6.2.
As my troubles startet kodi was always buffering, meanwhile it crashes completely and closes automaticly down.
It the same with my mobile phone with Android 13.
I also tried with older kodi versions, no sucsess.
With my Fire TV devices it works without any problems.
It doesn’t depent on my provider, I tried it with two differend ones.
Log enclosed (hope it can help)
P.S.: sorry for my bad English
Is it possible to offer a way to skip to the next episode while the credits of the previous episode are rolling? I've been using https://github.com/im85288/service.upnext with PlexKodiConnect but having something similar in the Plex Addon would be cool.
It would be a different than the current Auto Play Next option in the current version. UpNext shows a popup when there's x seconds left in the episode with options to play the next episode or close the box.
Dear panni
I noticed a short sound interuption when playing 4k hdr with Dolby trueHD with atmos. Every few minutes. the interuption takes less then a second and the sound continious again. So far no problems with playing dolby digital or Dolby digital plus with atmos.
Also i do not have the problem when using official plex for kodi 0.3.5 (https://kodi.tv/addons/nexus/script.plex/)
My mediaplayer is a osmc vero 4k+
operating system open source mediacenter 2023.08.01 kernel linux 4.9.269-33-osmc
kodi 20.2 with plexmod 0.6.5-rev4
system settings
audio output: default aml-mesoaudio:hdmi, s/pif&analogue
output configuration: best match
resample quality medium
allow audio pasthrough: yes
passthrough enabled on all formsts dts, dolby digital, trueHD, Dts-hd etc
Mediaplayer is connected through hdmi cable to a Denon av receiver avc-x3800h.
I am using a home build plex media server running on windos 10 22h2 build 19045.3693. Plex media server 1.32.7.7621
"On Deck" when you first open Plex For Kodi is fine, it displays at the top as intended.
I have several pinned TV libraries for when I watch different shows with different people, e.g. shows just for me, shows with person 1, shows with person 2, etc. All of these libraries used to have their own "On Deck" at the very top, with Recently Released Episodes, Recently Played Episodes, etc situated lower down.
That was yesterday. Today I opened Plex For Kodi only to find that all of my TV libraries now have "Recently Released Episodes" and "Recently Added In X" above "On Deck", and "On Deck" has now been renamed "Continue Watching".
May I ask what was the reason for this sudden change? Having to scroll down 3 places on each library to get to "On Deck/Continue Watching" is rather cumbersome. Could you please change it back or give us the option of reordering stuff?
I have no idea if this addon is even still be developed for, since I opened a separate issue a month ago and never got a reply. Hopefully somebody reads this and can help me out.
I am aware of this version of the addon and it does have a couple of extra features, but it appears to be broken and won't actually let you play anything after selecting it. Moving up/down/left/right with my remote doesn't do anything.
Details:
Add-on version: 0.3.3
Kodi version: 19
OS Platform: Android TV
Hardware: Nvidia Shield 2020
Would it be possible to allow us to reorder our libraries? This addon used to mimic the order of my libraries as they are on my Plex server but recently they're all jumbled up with no way for me to reorder them. This appears to be because the addon now alphabetizes libraries, regardless of where are they ordered on the Plex server. So now all my TV libraries are on the far right instead of the far left.
Why is under "Releases" no new release available? I thought I can use here a newer version?
How can I stay up to date?
I don't know exactly why, but apparently enable HEVC by default caused the option to no longer work.
I restored settings.py#L221 to False and it worked again.
Is there a way to add the TV Tuner section so I can watch my live TV as well?
I want to say up front thanks for your work. I have found running photo slideshow does not disable the screen saver. You'll be watching your photos play and then your screen saver turns on after 3 or 5 minutes obscuring your pictures. Also, the slide show system setting doesn't seem to control time between photos. Stuck with 3 seconds. Thanks for your help.
During playback of any video, if you press Rewind on the remote, the video will start to Rewind for 1 or 2 seconds, then playback will end and you are returned to the pre-play screen. On some occasions the video will automatically reload and start playing from where it stopped.
Rewind will work on occasion, but it is very intermittent.
Fast Forward works most of the time, but occasionally it too will stop playback and return you to the pre-play screen.
This happens most often when the file is located on my NAS. If the file is located on my PC, then this issue does not occur as often.
MediaInfo output for typical file:
Batteries.Not.Included.txt
TV show episodes prematurely end and skip to the "next episode" screen despite there being many minutes (sometimes 50%+) remaining. This happens on an extremely frequent basis and without user interaction.
Nothing has changed in my setup nor have software updates been done to the Plex server and this issue just recently developed.
Since v0.6.2, video always start with the first subtitles instead of selected subtitles.
The issue is not present on v0.6.0-RC1
Kodi: v20.2
Platform: AndroidTV
Plex-for-Kodi: v0.6.2
latest urllib3 update from official kodi addon-repo (https://kodi.tv/addons/nexus/script.module.urllib3/) results in plex not working anymore:
2023-12-03 21:37:38.853 T:1102 error <general>:
2023-12-03 21:37:38.866 T:1102 error <general>: File "/storage/.kodi/addons/script.plexmod/lib/__init__.py", line 6, in <module>
from requests.packages.urllib3.exceptions import InsecurePlatformWarning, SNIMissingWarning
2023-12-03 21:37:38.867 T:1102 error <general>:
2023-12-03 21:37:38.867 T:1102 error <general>: ImportError: cannot import name 'SNIMissingWarning' from 'urllib3.exceptions' (/storage/.kodi/addons/script.module.urllib3/lib/urllib3/exceptions.py)
2023-12-03 21:37:38.867 T:1102 error <general>:
2023-12-03 21:37:39.130 T:1102 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: cannot import name 'VerifiedHTTPSConnection' from 'urllib3.connectionpool' (/storage/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py)
Traceback (most recent call last):
File "/storage/.kodi/addons/script.plexmod/default.py", line 2, in <module>
from lib import main
File "/storage/.kodi/addons/script.plexmod/lib/main.py", line 13, in <module>
from . import plex
File "/storage/.kodi/addons/script.plexmod/lib/plex.py", line 14, in <module>
from plexnet import plexapp, myplex, util as plexnet_util, asyncadapter, http as pnhttp
File "/storage/.kodi/addons/script.plexmod/lib/_included_packages/plexnet/plexapp.py", line 402, in <module>
util.setApp(App())
^^^^^
File "/storage/.kodi/addons/script.plexmod/lib/_included_packages/plexnet/plexapp.py", line 39, in __init__
from . import nowplayingmanager
File "/storage/.kodi/addons/script.plexmod/lib/_included_packages/plexnet/nowplayingmanager.py", line 10, in <module>
from . import plexrequest
File "/storage/.kodi/addons/script.plexmod/lib/_included_packages/plexnet/plexrequest.py", line 4, in <module>
from . import plexserver
File "/storage/.kodi/addons/script.plexmod/lib/_included_packages/plexnet/plexserver.py", line 3, in <module>
from . import http
File "/storage/.kodi/addons/script.plexmod/lib/_included_packages/plexnet/http.py", line 15, in <module>
from . import asyncadapter
File "/storage/.kodi/addons/script.plexmod/lib/_included_packages/plexnet/asyncadapter.py", line 11, in <module>
from requests.packages.urllib3.connectionpool import VerifiedHTTPSConnection
ImportError: cannot import name 'VerifiedHTTPSConnection' from 'urllib3.connectionpool' (/storage/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py)
-->End of Python script error report<--
Hello,
Since a few versions, lastest kodi19 releases are disabling Plex for Kodi, because it's not compatible even with the latest commits.
Any fix possible ?
Thx a lot.
On Android TV with Kodi Leia
Hi,
I've got a random black screen when media is finished.
It's difficult to explain but when an episode or movie is finished (without using stop remote button), many many times there is a black screen and no response to plex or kodi.
I have to press any remote button many times to have the message : "close app or wait..."
I have to close, Kodi is stopped and I have to restart Kodi.
Try on develop and develop_kodi1819 branches too
Thanks.
I see this error when trying to play an MPEG-2 video on my Vero 4k running Kodi 19.
Seems like the problem may be that obj.startOffset
might be None and that's not handled?
Log excerpt below:
2021-08-22 16:07:03.242 T:3649 INFO <general>: script.plex: API: Choice media: 480, 6.5 Mbps container=mkv videoCodec=mpeg2video audioCodec=ac3 audioChannels=6 id=2810 part:0
2021-08-22 16:07:03.243 T:3649 INFO <general>: script.plex: API: Choice videoStream: <plexnet.plexstream.PlexStream object at 0xea5dc7d0>
2021-08-22 16:07:03.243 T:3649 INFO <general>: script.plex: API: Choice audioStream: <plexnet.plexstream.PlexStream object at 0xd7c424d0>
2021-08-22 16:07:03.243 T:3649 INFO <general>: script.plex: API: Choice subtitleStream: <plexnet.plexstream.PlexStream object at 0xd7c42570>
2021-08-22 16:07:03.243 T:3649 DEBUG <CSettingsManager>: requested setting (local_mediaId) was not found.
2021-08-22 16:07:03.243 T:3649 DEBUG <CSettingsManager>: requested setting (allow_4k) was not found.
2021-08-22 16:07:03.244 T:3649 DEBUG <CSettingsManager>: requested setting (local_quality) was not found.
2021-08-22 16:07:03.244 T:3649 DEBUG <CSettingsManager>: Skipped 1 duplicate messages..
2021-08-22 16:07:03.244 T:3649 DEBUG <CSettingsManager>: requested setting (burn_subtitles) was not found.
2021-08-22 16:07:03.244 T:3649 DEBUG <CSettingsManager>: requested setting (allow_4k) was not found.
2021-08-22 16:07:03.244 T:3649 DEBUG <CSettingsManager>: requested setting (local_quality) was not found.
2021-08-22 16:07:03.247 T:3649 INFO <general>: Skipped 1 duplicate messages..
2021-08-22 16:07:03.247 T:3649 INFO <general>: script.plex: API: MDE: MediaChoice: direct playable=True version=480, 6.5 Mbps container=mkv videoCodec=mpeg2video audioCodec=ac3 audioChannels=6 id=2810
2021-08-22 16:07:03.247 T:3649 DEBUG <CSettingsManager>: requested setting (playback_directplay) was not found.
2021-08-22 16:07:03.248 T:3649 DEBUG <CSettingsManager>: requested setting (playback_remux) was not found.
2021-08-22 16:07:03.250 T:3677 DEBUG <general>: ffmpeg[0xb0a294e0X]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2021-08-22 16:07:03.251 T:3649 INFO <general>: script.plex: API: Forced Transcode; allowDirectStream=False
2021-08-22 16:07:03.252 T:3649 INFO <general>: script.plex: API: DEBUG: buildDirectPlay()
2021-08-22 16:07:03.254 T:3649 INFO <general>: script.plex: API: Choice media: 480, 6.5 Mbps container=mkv videoCodec=mpeg2video audioCodec=ac3 audioChannels=6 id=2810 part:1
2021-08-22 16:07:03.255 T:3649 INFO <general>: script.plex: API: Choice videoStream: <plexnet.plexstream.PlexStream object at 0xd7c421b0>
2021-08-22 16:07:03.255 T:3649 INFO <general>: script.plex: API: Choice audioStream: <plexnet.plexstream.PlexStream object at 0xd7c427d0>
2021-08-22 16:07:03.255 T:3649 INFO <general>: script.plex: API: Choice subtitleStream: <plexnet.plexstream.PlexStream object at 0xd7c42690>
2021-08-22 16:07:03.255 T:3649 DEBUG <CSettingsManager>: requested setting (local_mediaId) was not found.
2021-08-22 16:07:03.255 T:3649 DEBUG <CSettingsManager>: requested setting (allow_4k) was not found.
2021-08-22 16:07:03.255 T:3649 DEBUG <CSettingsManager>: requested setting (local_quality) was not found.
2021-08-22 16:07:03.256 T:3649 DEBUG <CSettingsManager>: Skipped 1 duplicate messages..
2021-08-22 16:07:03.256 T:3649 DEBUG <CSettingsManager>: requested setting (burn_subtitles) was not found.
2021-08-22 16:07:03.256 T:3649 DEBUG <CSettingsManager>: requested setting (allow_4k) was not found.
2021-08-22 16:07:03.256 T:3649 DEBUG <CSettingsManager>: requested setting (local_quality) was not found.
2021-08-22 16:07:03.258 T:3649 INFO <general>: Skipped 1 duplicate messages..
2021-08-22 16:07:03.258 T:3649 INFO <general>: script.plex: API: DEBUG: buildDirectPlay()
2021-08-22 16:07:03.259 T:3649 INFO <general>: script.plex: API: Constructed video item for playback: {'duration': 12827748, 'fullHD': False, 'streamQualities': ['SD'], 'frameRate': 30, 'subtitleConfig': {'TrackName': 'mkv/3'}, 'live': False, 'partIndex': 0, 'startOffset': 0, 'partDuration': 7359886, 'isRequestToServer': True, 'streamUrls': ['https://192-168-88-127.5e73541c3cac41bb82538ac30eae5baf.plex.direct:32400/library/parts/2967/1614924057/file.mkv?X-Plex-Token=rs2zYmc2AssZ-FwWziQp'], 'token': 'rs2zYmc2AssZ-FwWziQp', 'streamFormat': 'mkv', 'streamBitrates': [6450], 'isTranscoded': False, 'audioLanguageSelected': 'hin', 'prevObj': None, 'nextPart': <AttributeDict:None:b'None'>, 'playStart': 0}
2021-08-22 16:07:03.259 T:3649 INFO <general>: script.plex: API: DEBUG: buildTranscode()
2021-08-22 16:07:03.260 T:3649 INFO <general>: script.plex: API: DEBUG: buildTranscodeMkv()
2021-08-22 16:07:03.267 T:3649 ERROR <general>: _________________________________________________________________________________
2021-08-22 16:07:03.267 T:3649 ERROR <general>: script.plex: ERROR:
2021-08-22 16:07:03.267 T:3649 ERROR <general>: Traceback (most recent call last):
2021-08-22 16:07:03.267 T:3649 ERROR <general>: File "/home/osmc/.kodi/addons/script.plex/lib/player.py", line 745, in _playVideo
2021-08-22 16:07:03.267 T:3649 ERROR <general>: self.playerObject = self.playerObject.getServerDecision()2021-08-22 16:07:03.267 T:3649 ERROR <general>: File "/home/osmc/.kodi/addons/script.plex/lib/_included_packages/plexnet/plexplayer.py", line 201, in getServerDecision
2021-08-22 16:07:03.267 T:3649 ERROR <general>: decisionPath = self.getDecisionPath(directPlay)
2021-08-22 16:07:03.268 T:3649 ERROR <general>: File "/home/osmc/.kodi/addons/script.plex/lib/_included_packages/plexnet/plexplayer.py", line 238, in getDecisionPath
2021-08-22 16:07:03.268 T:3649 ERROR <general>: decisionPath = self.buildTranscode(server, util.AttributeDict(), self.metadata.partIndex, True, False).decisionPath
2021-08-22 16:07:03.268 T:3649 ERROR <general>: File "/home/osmc/.kodi/addons/script.plex/lib/_included_packages/plexnet/plexplayer.py", line 457, in buildTranscode
2021-08-22 16:07:03.268 T:3649 ERROR <general>: seekOffset >= obj.startOffset and seekOffset <= obj.get('startOffset', 0) + int(part.duration.asInt() / 1000)
2021-08-22 16:07:03.268 T:3649 ERROR <general>: TypeError: '>=' not supported between instances of 'int' and 'NoneType'
2021-08-22 16:07:03.268 T:3649 ERROR <general>: _________________________________________________________________________________
Hey, recently updated to latest in the kodi18 branch on my RPI4, using Libreelec 9.2.2.
Interface and browsing works, but videos don't start.
I switched to the kodi18_develop branch, and it works again.
Not entirely sure whether or not the kodi18 branch is fit for consumption, just giving a heads-up that its current state is broken :)
Hey all
This is really bugging me now.
Same network, 2 other Plex clients work with Plex app (hisense tv/Nvidia shield).
But my pi with plex-for-kodi doesn't find my server?
Cannot be a network issue because why are other clients working on the exact same network perfectly fine?
Firewall on the pi is off and internet is via ethernet.
I even whitelisted plex.direct as suggested and a whole load of other domains although this doesn't seem to impact the shield/hisense app. Also do not use DDLSEC (sp?).
Running out of ideas on what could be causing this now any suggestions? Tried on both libreelec and osmc.
Thanks.
On Android TV with Kodi Leia
Hi,
When theme music is active, the music isn't integrate into Plex.
It's Kodi which play the sound not Plex and it's very uncomfortable.
It's bug version (try on develop and develop_kodi1819 branches) or bad parameters ?
Thanks.
It only takes effect after stopping playback.
Hi, I recently migrated to Kodi 19.3. from 18.9. on Raspbian (after updating this from buster to bullseye). Everything is working well, except for the Plex Addon. Initial linking worked fine and I get to chose my user and then it "crashes", see log below.
No connection to the server is made, I have no access to my media.
Using a "fresh" .kodi path does not resolve it.
Any help is appreciated!
Cheers,
daniel
2022-01-11 18:04:41.463 T:12528 ERROR <general>: Exception in thread
2022-01-11 18:04:41.463 T:12528 ERROR <general>: HTTP-ASYNC:https://plex.tv/users/sign_in.xml?X-Plex-Token=<removed by me>
2022-01-11 18:04:41.463 T:12528 ERROR <general>: :
2022-01-11 18:04:41.463 T:12528 ERROR <general>: Traceback (most recent call last):
2022-01-11 18:04:41.463 T:12528 ERROR <general>: File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
2022-01-11 18:04:41.465 T:12528 ERROR <general>:
2022-01-11 18:04:41.465 T:12528 ERROR <general>: self.run()
2022-01-11 18:04:41.465 T:12528 ERROR <general>:
2022-01-11 18:04:41.465 T:12528 ERROR <general>: File "/usr/lib/python3.9/threading.py", line 892, in run
2022-01-11 18:04:41.467 T:12528 ERROR <general>:
2022-01-11 18:04:41.467 T:12528 ERROR <general>: self._target(*self._args, **self._kwargs)
2022-01-11 18:04:41.467 T:12528 ERROR <general>:
2022-01-11 18:04:41.467 T:12528 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/_included_packages/plexnet/http.py", line 120, in _startAsync
2022-01-11 18:04:41.468 T:12528 ERROR <general>:
2022-01-11 18:04:41.468 T:12528 ERROR <general>: self.onResponse(res, context)
2022-01-11 18:04:41.468 T:12528 ERROR <general>:
2022-01-11 18:04:41.468 T:12528 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/_included_packages/plexnet/plexrequest.py", line 46, in onResponse
2022-01-11 18:04:41.468 T:12528 ERROR <general>:
2022-01-11 18:04:41.469 T:12528 ERROR <general>: context['completionCallback'](self, result, context)
2022-01-11 18:04:41.469 T:12528 ERROR <general>:
2022-01-11 18:04:41.469 T:12528 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/_included_packages/plexnet/callback.py", line 37, in __call__
2022-01-11 18:04:41.469 T:12528 ERROR <general>:
2022-01-11 18:04:41.469 T:12528 ERROR <general>: self.func(*args, **kwargs)
2022-01-11 18:04:41.469 T:12528 ERROR <general>:
2022-01-11 18:04:41.469 T:12528 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/_included_packages/plexnet/myplexaccount.py", line 168, in onAccountResponse
2022-01-11 18:04:41.470 T:12528 ERROR <general>:
2022-01-11 18:04:41.470 T:12528 ERROR <general>: plexapp.refreshResources()
2022-01-11 18:04:41.470 T:12528 ERROR <general>:
2022-01-11 18:04:41.470 T:12528 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/_included_packages/plexnet/plexapp.py", line 394, in refreshResources
2022-01-11 18:04:41.471 T:12528 ERROR <general>:
2022-01-11 18:04:41.471 T:12528 ERROR <general>: gdm.DISCOVERY.discover()
2022-01-11 18:04:41.471 T:12528 ERROR <general>:
2022-01-11 18:04:41.472 T:12528 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/_included_packages/plexnet/gdm.py", line 125, in discover
2022-01-11 18:04:41.472 T:12528 ERROR <general>:
2022-01-11 18:04:41.472 T:12528 ERROR <general>: if not util.INTERFACE.getPreference("gdm_discovery", True) or self.isActive():
2022-01-11 18:04:41.472 T:12528 ERROR <general>:
2022-01-11 18:04:41.472 T:12528 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/_included_packages/plexnet/gdm.py", line 29, in isActive
2022-01-11 18:04:41.473 T:12528 ERROR <general>:
2022-01-11 18:04:41.473 T:12528 ERROR <general>: return util.INTERFACE.getPreference("gdm_discovery", True) and self.thread and self.thread.isAlive()
2022-01-11 18:04:41.473 T:12528 ERROR <general>:
2022-01-11 18:04:41.473 T:12528 ERROR <general>: AttributeError
2022-01-11 18:04:41.473 T:12528 ERROR <general>: :
2022-01-11 18:04:41.473 T:12528 ERROR <general>: 'Thread' object has no attribute 'isAlive'
2022-01-11 18:04:41.473 T:12528 ERROR <general>:
2022-01-11 18:04:55.850 T:11840 WARNING <general>: xbmc.translatePath is deprecated and might be removed in future kodi versions. Please use xbmcvfs.translatePath instead.
2022-01-11 18:04:56.118 T:11778 INFO <general>: Loading skin file: /home/pi/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-home.xml, load type: LOAD_ON_GUI_INIT
2022-01-11 18:04:56.318 T:11778 INFO <general>: Loading skin file: /home/pi/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-busy.xml, load type: LOAD_ON_GUI_INIT
2022-01-11 18:04:56.365 T:12506 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'KillableThread' object has no attribute 'isAlive'
Traceback (most recent call last):
File "/home/pi/.kodi/addons/script.plex/lib/windows/kodigui.py", line 105, in onInit
self.onFirstInit()
File "/home/pi/.kodi/addons/script.plex/lib/windows/home.py", line 358, in onFirstInit
if self.serverRefresh():
File "/home/pi/.kodi/addons/script.plex/lib/windows/busy.py", line 20, in inner
return func(*args, **kwargs)
File "/home/pi/.kodi/addons/script.plex/lib/windows/home.py", line 583, in serverRefresh
backgroundthread.BGThreader.reset()
File "/home/pi/.kodi/addons/script.plex/lib/backgroundthread.py", line 225, in reset
if self.threader._queue.empty() and not self.threader.hasTask():
File "/home/pi/.kodi/addons/script.plex/lib/backgroundthread.py", line 198, in hasTask
return any([w.working() for w in self.workers])
File "/home/pi/.kodi/addons/script.plex/lib/backgroundthread.py", line 198, in <listcomp>
return any([w.working() for w in self.workers])
File "/home/pi/.kodi/addons/script.plex/lib/backgroundthread.py", line 135, in working
return self._thread and self._thread.isAlive()
AttributeError: 'KillableThread' object has no attribute 'isAlive'
-->End of Python script error report<--
2022-01-11 18:05:01.282 T:11778 INFO <general>: Loading skin file: /home/pi/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-options_dialog.xml, load type: LOAD_ON_GUI_INIT
2022-01-11 18:05:01.292 T:11778 ERROR <general>: Control 1001 in window 13001 has been asked to focus, but it can't
2022-01-11 18:05:07.667 T:11778 INFO <general>: Loading skin file: /home/pi/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-options_dialog.xml, load type: LOAD_ON_GUI_INIT
2022-01-11 18:05:07.673 T:11778 ERROR <general>: Control 1001 in window 13001 has been asked to focus, but it can't
2022-01-11 18:05:09.833 T:12506 ERROR <general>: _________________________________________________________________________________
2022-01-11 18:05:09.833 T:12506 ERROR <general>: script.plex: ERROR:
2022-01-11 18:05:09.833 T:12506 ERROR <general>: Traceback (most recent call last):
2022-01-11 18:05:09.833 T:12506 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/main.py", line 134, in _main
2022-01-11 18:05:09.834 T:12506 ERROR <general>: windowutils.shutdownHome()
2022-01-11 18:05:09.834 T:12506 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/windows/windowutils.py", line 78, in shutdownHome
2022-01-11 18:05:09.834 T:12506 ERROR <general>: HOME.shutdown()
2022-01-11 18:05:09.834 T:12506 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/windows/home.py", line 440, in shutdown
2022-01-11 18:05:09.835 T:12506 ERROR <general>: self.unhookSignals()
2022-01-11 18:05:09.835 T:12506 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/windows/home.py", line 421, in unhookSignals
2022-01-11 18:05:09.835 T:12506 ERROR <general>: plexapp.util.APP.off('change:selectedServer', self.onSelectedServerChange)
2022-01-11 18:05:09.835 T:12506 ERROR <general>: File "/home/pi/.kodi/addons/script.plex/lib/_included_packages/plexnet/signalsmixin.py", line 32, in off
2022-01-11 18:05:09.835 T:12506 ERROR <general>: self._signals[signalName].disconnect(callback)
2022-01-11 18:05:09.835 T:12506 ERROR <general>: KeyError: 'change:selectedServer'
2022-01-11 18:05:09.835 T:12506 ERROR <general>: _________________________________________________________________________________
2022-01-11 18:05:09.836 T:12506 ERROR <general>: `
2022-01-11 18:05:09.907 T:12506 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'KillableThread' object has no attribute 'isAlive'
Traceback (most recent call last):
File "/home/pi/.kodi/addons/script.plex/lib/windows/kodigui.py", line 105, in onInit
self.onFirstInit()
File "/home/pi/.kodi/addons/script.plex/lib/windows/background.py", line 23, in onFirstInit
self.function()
File "/home/pi/.kodi/addons/script.plex/lib/main.py", line 148, in _main
backgroundthread.BGThreader.shutdown()
File "/home/pi/.kodi/addons/script.plex/lib/backgroundthread.py", line 233, in shutdown
self.threader.shutdown()
File "/home/pi/.kodi/addons/script.plex/lib/backgroundthread.py", line 163, in shutdown
w.shutdown()
File "/home/pi/.kodi/addons/script.plex/lib/backgroundthread.py", line 129, in shutdown
if self._thread and self._thread.isAlive():
AttributeError: 'KillableThread' object has no attribute 'isAlive'
-->End of Python script error report<--
2022-01-11 18:05:10.865 T:11840 WARNING <general>: xbmc.translatePath is deprecated and might be removed in future kodi versions. Please use xbmcvfs.translatePath instead.
2022-01-11 18:05:15.027 T:12506 INFO <general>: CPythonInvoker(19, /home/pi/.kodi/addons/script.plex/default.py): script successfully run
2022-01-11 18:05:15.058 T:12506 INFO <general>: Main: script.plex: REALLY FINISHED
2022-01-11 18:05:15.185 T:12506 INFO <general>: Python interpreter stopped
c2022-01-11 18:05:25.881 T:118
I was a bit bummed to see that the new features and fixes weren't supported on Kodi 17. Was it a decision of compatibility with newer features being added?
I still use this version because it is the only version available with Kodi DSPlayer, a special fork made to support renderers like madVR (which has the best, in my opinion, tonemapping available).
I wanted to open this issue to ask if it would be possible to add legacy support for Kodi Krypton again for the support of the smaller group of people using DSplayer with Plex? The alternative has been using PlexKodiConnect however it doesn't have the same familiar UI that Plex for Kodi offers, the autoplay next option, or the newly added skip intros functionality.
I can install this version on Kodi 19 if I download the zip and install. But to ensure auto update I would like to have a repository.
While playing shows, when the "skip intro" button comes up, there appear to be two that appear. A yellow one (which was the same that is in the Official Plex-for-kodi) and a slightly transparent white button as well
Recommend changing Y coordinate from 70 to 10 to raise the ratings up to the first line (where the title is) since the second line of text (including duration, genres, year, and video/codec info) has the potential to become long enough to overlap the ratings.
I encountered the issue while using the ZidooPlexMod fork where the same issue exists. This issue becomes more significant if any skin/font/scaling variations are present.
Would be nice if you had an option to set the Skip Credits button to stay visible to the end of the movie or TV show. That way you could choose to skip at any time up til the end.
When you switch from Movie to Collection you can see all your collections, but when you open one of your collections no movies show up. The Collection filter does work but doesn't independently sort by release date.
As the subject says, activating start plex on kodi startup, doesn't work anymore:
LE: I found the issue: The repo has the name of the plex addon as script.plexmod
, where everywhere else in code it is referenced by script.plex
https://github.com/pannal/plex-for-kodi/blob/develop_kodi19/service.py#L17
LE2: After changing the file above to reference script.plexmod
instead of script.plex
, the subtitle isue described in #31 got fixed as well
Hey @pannal
I tried to run your plugin under CoreELEC, but no Dolby Vision works. The screen remains black. I can only hear the sound of the Movie.
When I use PKC, everything works include Dolby Vision.
Is it possible to fix this problem ?
I use the Homatics Box R 4K Plus device with CoreELEC.
EDIT:
Solved! I have activate the Player Led mode in CoreELEC
Hi everyone,
I'm glad I found this fork but I'm having some trouble.
I thought it was just me when the official Plex app on RPi was stuck with 3 dots but turns out it was an actual bug.
Fast forward and I've installed this fork which I'm glad will get updated.
However I've set everything up and my server cannot be found. This may sound like a home network issue however 3 other devices on the same network are all working and connected to the same network switch. (Plex App on Hisense TV, nVidia Shield etc).
My Plex server is a pc. The Plex app on the RPi4 is listed as an authorised device, I've whitelisted the IP on top of that and I've even disabled my VPN.
So I'm struggling to see why Plex works on every other device but not my raspberry pi..it used to a while ago on the official Plex app but then completely broke
I'm running LibreElec 11.0.3 stable and I've installed the Plex fork from the official repo as per the instructions.
At first I thought everything broke because of the Python 3.x issue where the official Plex app broke. However using this fork is still giving me issues so I'm not sure how to pinpoint it!
Any other suggestions?
Thanks!
edit; just came across the DNS Rebind suggestion and how it's impacting this fork. I'll try that (whitelist plex.direct) and see if it works.
Hey,
An issue has appeared that wasn't there before on previous versions... Stopping playback of an episode auto-starts countdown to the next episode instead of stopping and returning to the library.
This is particularly annoying when using smart home routines to stop playback, turn off tv etc. As instead of fully stopping the playback it goes to auto play the next episode and shows in plex that it's constantly paused on that episode instead of stopped.
Thank you for your work on this addon.
It would be great if you could add the Watchlist function.
When playing a file with embedded subtitles, the subtitles do not appear on screen until 10 seconds into the video. After this, the subtitles appear as normal even when seek is taken to before 10 seconds.
This bug also exists in the official add-on and has been reported previously (for both the official add-on and this mod):
#22
plexinc#343
https://forums.plex.tv/t/plexmod-for-kodi-18-19-20-21/481208/57
https://forums.plex.tv/t/plexmod-for-kodi-18-19-20-21/481208/166
https://www.reddit.com/r/kodi/comments/kp4w7q/plex_addon_subtitles_dont_display_in_first_10/
Here's my debug logs! : snipped in edit
Let me know if you need anything else!
Hello Pannal,
Thanks for your work !
I found out that when you have multiple version of the same movie in the same plex library, in the settings of the playback, you see all tracks from those different version.
For example i have two version of one movie in one library, 1st version 4 audio tracks + 2 pgs + 1 srt extern, 2nd version 7 audio tracks + 4 pgs + same 1 srt extern. So in total i see at the same time 11 audio tracks and 8 sub, on both setting's interface before and during the playback of the movie.
Best regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.