Giter Club home page Giter Club logo

plexkodiconnect's Introduction

Kodi Nexus stable version Kodi Nexus beta version

Kodi Matrix stable version Kodi Matrix beta version

Kodi Leia stable version Kodi Leia beta version

Installation FAQ Forum Donate

GitHub issues GitHub pull requests

PlexKodiConnect (PKC)

Combine the best frontend media player Kodi with the best multimedia backend server Plex

PKC synchronizes your media from your Plex server to the native Kodi database. Hence:

  • Use virtually any other Kodi add-on
  • Use any Kodi skin, completely customize Kodi's look
  • Browse your media very fluently (cached artwork)
  • Automatically get additional artwork (more than Plex offers)
  • Use Plex features with a Kodi interface

Have a look at some screenshots to see what's possible.

Update Your PKC Repo to Receive Updates!

Unfortunately, the PKC Kodi repository had to move because it stopped working (thanks https://bintray.com). If you installed PKC before December 15, 2017, you need to MANUALLY update the repo once.

Content

Download and Installation

See here for detailed instructions: Installation

Warning

Use at your own risk! This plugin assumes that you manage all your videos with Plex (and none with Kodi). You might lose data already stored in the Kodi video and music databases as this plugin directly changes them. Don't worry if you want Plex to manage all your media (like you should ;-)).

Some people argue that PKC is 'hacky' because of the way it directly accesses the Kodi database. See here for a more thorough discussion.

PKC Features

  • Support for Kodi 18 Leia, Kodi 19 Matrix, Kodi 20 Nexus
  • Preliminary support for Kodi 21 Omega. Keep in mind that development for Omega has only reached beta state - any issues you encounter are probably caused by that. Please do not use nightly versions as they tend to break stuff.
  • Skip commercials/advertisements, skip intros and skip credits
  • Amazon Alexa voice recognition
  • Cinema Trailers & Extras
  • If Plex did not provide a trailer, automatically get one using the Kodi add-on The Movie Database
  • Plex Watch Later / Plex It!
  • Plex Companion: fling Plex media (or anything else) from other Plex devices to PlexKodiConnect
  • Automatically sync Plex playlists to Kodi playlists and vice-versa
  • Plex Transcoding
  • Automatically download more artwork from Fanart.tv, just like the Kodi addon Artwork Downloader
  • Automatically group movies into movie sets
  • Direct play from network paths (e.g. "\\server\Plex\movie.mkv"), something unique to PKC
  • Delete PMS items from the Kodi context menu
  • PKC is available in the following languages. Please help and easily translate PKC!
    • English
    • German
    • Czech, thanks @Pavuucek
    • Spanish, thanks @bartolomesoriano, @danichispa
    • Danish, thanks @FIGHT
    • Italian, thanks @nikkux, @chicco83
    • Dutch, thanks @mvanbaak
    • French, thanks @lflforce, @ahivert, @Nox71, @CotzaDev, @vinch100, @Polymorph31, @jbnitro, @Elixir59
    • Chinese Traditional, thanks @old2tan
    • Chinese Simplified, thanks @everdream
    • Norwegian, thanks @mjorud
    • Portuguese, thanks @goncalo532
    • Russian, thanks @UncleStark
    • Hungarian, thanks @savage93
    • Ukrainian, thanks @uniss
    • Lithuanian, thanks @egidusm
    • Korean, thanks @so-o-bima

Additional Artwork

PKC uses additional artwork for free from TheMovieDB. Many thanks for lettings us use the API, guys! Logo of TheMovieDB

Donations

I'm not in any way affiliated with Plex. Thank you very much for a small donation via ko-fi.com and PayPal, Bitcoin or Ether if you appreciate PKC.
Full disclaimer: I will see your name and address if you use PayPal. Rest assured that I will not share this with anyone.

Donations

Ethereum address for donations:
0x0f57D98E08e617292D8bC0B3448dd79BF4Cf8e7F

Bitcoin address for donations:
3BhwvUsqAGtAZodGUx4mTP7pTECjf1AejT

Request a New Feature

Kindly leave a detailed description as a new GitHub issue.

Issues and Bugs

Have a look at the Github Issues Page. Before you open your own issue, please read How to report a bug.

Credits

plexkodiconnect's People

Contributors

a-martin-domino avatar a69tor avatar aglv avatar angelblue05 avatar bernimoses avatar brutuz avatar croneter avatar dazedcrazy avatar delphiactual avatar doctorlard avatar faush01 avatar freddy36 avatar geropan avatar im85288 avatar jcalvi avatar kravone avatar lukepulverenti avatar marcelveldt avatar mattsch avatar memesa avatar milaq avatar nyaran avatar pavuucek avatar piotrsmolinski avatar savage93 avatar sierrajc avatar spacetech avatar spootdev avatar xconverge avatar xnappo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plexkodiconnect's Issues

Trailer quality

I'm using direct paths with the Titan skin and if I select Info for a movie and then the Trailer button the video quality is not good.

I've looked at the Kodi database and the trailer has a value that looks like this:

plugin://plugin.video.plexkodiconnect/trailer/?id=/library/metadata/5974&mode=play

If I look at metadata item 5974 in Plex, it has 3 video parts with resolutions 1080, 720, 480. Which one does PlexKodiConnect choose and is there a way to tell it to always pick the 1080 part?

OSX+DSM, reporting stability

I've been running PlexKodiConnect in the last few weeks. I run the latest stable versions of Kodi and PMS. Hardware: Macmini4,1, Synology DS412+

When new versions of PKC come out I test them. If things don't work properly, I revert to the previous version that worked for me. I intend to report future versions success/failure to this issue, if you're not interested in this, just close it :)

Currently, the latest working version with my setup is v1.1.2.

  • v1.1.4: Worked for a few hours (after install and db refresh), then started firing "couldn't find next item to play" and other error messages.
  • v1.1.3: same as v1.1.4.

UPDATE: My setup wasn't working because somehow I had Transcoding enabled in the PlexKodiConnect settings. Everything is working properly with the following settings:

  • Preferred playback method: Direct Play (default)
  • Video Quality for Transcoding: 1920x1080, 40 Mbps
  • Force transcode H265: Fisabled (default)

So, v1.1.4 works with my setup, and even better after setting up SMB direct access to the NAS.

I haven't set up direct file access, in any version.

I realize this isn't a full bug report. I'm not sure how to access the Kodi/PKC logs you'd be interested in. If you want more detailed information, please point me to some documentation explaining how to obtain the logs.

Appearance Tweaks settings causing multiple issues

Noticing some odd behaviors since 1.1.9 update. One consistent and one somewhat random.
Consistently:
Unless "Extend Plex TV Series "On Deck" View to all shows" is selected in Appearance Tweaks, Kodi still reports the On Deck node as using the plugin path.
Randomly:
On Deck does not report a show as being watched after its finished playing if any combination of Appearance Tweaks is selected. I haven't been able to nail down what or if any particular combination consistently triggers this action but last night I had everything selected and noticed that after watching a show and being returned to my home screen, said show was still showing the episode that I just watched. Going into the library view also has the show indicated as unwatched. Doing a manual refresh corrects the problem so PMS is recognizing that the show was in fact watched. Turning off all Appearance Tweaks does seem to fix the problem every time.

Encoding problem in syncing

I am getting an alert whenever I try to sync.
I checked the logs and this is what they show.

ERROR: PlexKodiConnect Items -> itemtypes.py for tv episode has crashed for item 1191. Error:
ERROR: PlexKodiConnect Items -> 'ascii' codec can't encode character u'\xe0' in position 83: ordinal not in range(128)
NOTICE: PlexKodiConnect Items -> Traceback:
                Traceback (most recent call last):
                File "/home/osmc/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/itemtypes.py", line 1191, in add_updateEpisode
                                                self.run_add_updateEpisode(item, viewtag, viewid)
                File "/home/osmc/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/itemtypes.py", line 1311, in run_add_updateEpisode
                                                playurl = API.getFilePath()
                File "/home/osmc/.kodi/addons/plugin.video.plexkodiconnect/resources/lib/PlexAPI.py", line 1242, in getFilePath
                                                res = unquote(res).decode('utf-8')
                File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
                                                return codecs.utf_8_decode(input, errors, True)
                UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 83: ordinal not in range(128)

PKC constantly wakes up the server for no reason

Even with all sync and login stuff disabled in the settings (which seem to not do anything at all; yes I restarted), PKC still constantly nags my server and keeps it awake. I want PKC to only sync when I tell it to and not connect to the server in anyway unless I tell him. This currently is not the case or is broken.

Using a RPI3 with a fresh install of XBian running Kodi16.1

Library not updated

Hello,
I've setup a fresh Kodi installation and installed this plugin. Seems all works, but the library is not updated.
In the log I can see:

 17:36:07 T:139689299494656  NOTICE: PlexKodiConnect Service -> ======== START PlexKodiConnect ========
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect Service -> Platform: Linux
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect Service -> KODI Version: 16.0 Git:Unknown
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect Service -> PlexKodiConnect Version: 1.1.5
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect Service -> Using plugin paths: True
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect Service -> Log Level: 1
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect VideoNodes -> Clearing nodes properties.
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect InitialSetup -> Initial setup called.
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect UserClient -> Returning active server: https://<STRING_CUTTED_BY_ME>.plex.direct:32400
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect InitialSetup -> Found plex.tv token in settings
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect PlexAPI -> Checking connection to server https://plex.tv/api/home/users with verifySSL=None
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect ClientInfo -> Unique device Id plex_client_Id loaded: <STRING_CUTTED_BY_ME>
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect PlexAPI -> Checking connection successfull. Answer: 200
    17:36:07 T:139689299494656  NOTICE: PlexKodiConnect InitialSetup -> plex.tv connection with token successful
    17:36:08 T:139689299494656  NOTICE: PlexKodiConnect InitialSetup -> Updated Plex info from plex.tv
    17:36:08 T:139689299494656  NOTICE: PlexKodiConnect InitialSetup -> Server is already set.
    17:36:08 T:139689299494656  NOTICE: PlexKodiConnect InitialSetup -> url: https://<STRING_CUTTED_BY_ME>.plex.direct:32400, Plex machineIdentifier: <STRING_CUTTED_BY_ME>
    17:36:08 T:139689299494656  NOTICE: PlexKodiConnect UserClient -> Returning active server: https://<STRING_CUTTED_BY_ME>.plex.direct:32400
    17:36:08 T:139689299494656  NOTICE: PlexKodiConnect PlexAPI -> Checking connection to server https://<STRING_CUTTED_BY_ME>.plex.direct:32400/library/onDeck with verifySSL=None
    17:36:08 T:139689299494656  NOTICE: PlexKodiConnect PlexAPI -> Checking connection successfull. Answer: 401
    17:36:08 T:139689299494656  NOTICE: PlexKodiConnect Service -> Server https://<STRING_CUTTED_BY_ME>.plex.direct:32400 is online and ready.
    17:36:08 T:139687696000768  NOTICE: PlexKodiConnect UserClient -> ----===## Starting UserClient ##===----
    17:36:08 T:139687696000768  NOTICE: PlexKodiConnect UserClient -> Authenticating user
    17:36:08 T:139687696000768  NOTICE: PlexKodiConnect UserClient -> Returning active server: https://<STRING_CUTTED_BY_ME>.plex.direct:32400
    17:36:08 T:139687696000768  NOTICE: PlexKodiConnect UserClient -> Trying to authenticate with old settings
    17:36:08 T:139687696000768  NOTICE: PlexKodiConnect UserClient -> Loading current user
    17:36:08 T:139687696000768  NOTICE: PlexKodiConnect UserClient -> Returning active server: https://<STRING_CUTTED_BY_ME>.plex.direct:32400
    17:36:08 T:139687696000768  NOTICE: PlexKodiConnect UserClient -> Testing validity of current token
    17:36:08 T:139687696000768  NOTICE: PlexKodiConnect PlexAPI -> Checking connection to server https://<STRING_CUTTED_BY_ME>.plex.direct:32400/library/onDeck with verifySSL=None
    17:36:09 T:139687696000768  NOTICE: PlexKodiConnect PlexAPI -> Checking connection successfull. Answer: 401
    17:36:09 T:139687696000768   ERROR: PlexKodiConnect UserClient -> Token is no longer valid
    17:36:09 T:139687696000768  NOTICE: PlexKodiConnect UserClient -> Failed to use the settings credentials. Deleting them
    17:36:09 T:139687696000768  NOTICE: PlexKodiConnect UserClient -> Trying to connect to plex.tv to get a user list
    17:36:09 T:139689299494656  NOTICE: PlexKodiConnect Service -> Not authenticated yet.
    17:36:26 T:139687696000768  NOTICE: PlexKodiConnect PlexAPI -> Selected user: <STRING_CUTTED_BY_ME>
    17:36:26 T:139687696000768  NOTICE: PlexKodiConnect PlexAPI -> Asking for users PIN
    17:36:34 T:139687696000768  NOTICE: PlexKodiConnect PlexAPI -> Switching to user <STRING_CUTTED_BY_ME>
    17:36:34 T:139687696000768   ERROR: Exception in thread Thread-4:
                                                Traceback (most recent call last):
                                                  File "/usr/lib64/python2.7/threading.py", line 804, in __bootstrap_inner
                                                    self.run()
                                                  File "/home/kodi/.kodi/addons/PlexKodiConnect-develop/resources/lib/userclient.py", line 384, in run
                                                    if self.authenticate():
                                                  File "/home/kodi/.kodi/addons/PlexKodiConnect-develop/resources/lib/userclient.py", line 293, in authenticate
                                                    userInfo = plx.ChoosePlexHomeUser(plextoken)
                                                  File "/home/kodi/.kodi/addons/PlexKodiConnect-develop/resources/lib/PlexAPI.py", line 854, in ChoosePlexHomeUser
                                                    utils.settings('plex_machineIdentifier'))
                                                  File "/home/kodi/.kodi/addons/PlexKodiConnect-develop/resources/lib/PlexAPI.py", line 933, in PlexSwitchHomeUser
                                                    headerOptions={'X-Plex-Token': token})
                                                TypeError: downloadUrl() got an unexpected keyword argument 'type'

So what's wrong?
Thanks!
Simon

Log file references emby

Very minor, but looking at the kodi log I get some references to emby.

23:49:32 T:139717598238464 NOTICE: EMBY -> Resetting the Kodi video database.
23:49:34 T:139717598238464 NOTICE: EMBY -> Resetting the Emby database.
23:49:38 T:139717598238464 NOTICE: EMBY -> Resetting all cached artwork.

Guess that should be Plex.

Movie sets artwork

Thanks for implementing movie sets support. I know Plex does not store move set artwork but it seems this is available on fanart.tv (using the collection name). Is it possible to enhance the "Automatically download more artwork" option to grab this like you do for other artwork?

issue with sync when episode title contains accented characters

hello

I keep getting an error popping up saying that some files were skipped during db sync.

extracts from the log with associated xml code retrieved from plex server for specific episodes

11:05:47 T:1544 NOTICE: PlexKodiConnect Items -> Traceback:
Traceback (most recent call last):
File "C:\Users\candd\AppData\Roaming\Kodi\addons\PlexKodiConnect-develop\resources\lib\itemtypes.py", line 1188, in add_updateEpisode
self.run_add_updateEpisode(item, viewtag, viewid)
File "C:\Users\candd\AppData\Roaming\Kodi\addons\PlexKodiConnect-develop\resources\lib\itemtypes.py", line 1306, in run_add_updateEpisode
playurl = API.getFilePath()
File "C:\Users\candd\AppData\Roaming\Kodi\addons\PlexKodiConnect-develop\resources\lib\PlexAPI.py", line 1241, in getFilePath
res = unquote(res).decode('utf-8')
File "C:\Program Files\Kodi\system\python\Lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 57: invalid start byte
11:05:47 T:1544 ERROR: PlexKodiConnect Items -> itemtypes.py for tv episode has crashed for item 4089. Error:
11:05:47 T:1544 ERROR: PlexKodiConnect Items -> 'utf8' codec can't decode byte 0xe4 in position 83: invalid continuation byte
11:05:47 T:1544 NOTICE: PlexKodiConnect Items -> Traceback:
Traceback (most recent call last):
File "C:\Users\candd\AppData\Roaming\Kodi\addons\PlexKodiConnect-develop\resources\lib\itemtypes.py", line 1188, in add_updateEpisode
self.run_add_updateEpisode(item, viewtag, viewid)
File "C:\Users\candd\AppData\Roaming\Kodi\addons\PlexKodiConnect-develop\resources\lib\itemtypes.py", line 1306, in run_add_updateEpisode
playurl = API.getFilePath()
File "C:\Users\candd\AppData\Roaming\Kodi\addons\PlexKodiConnect-develop\resources\lib\PlexAPI.py", line 1241, in getFilePath
res = unquote(res).decode('utf-8')
File "C:\Program Files\Kodi\system\python\Lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 83: invalid continuation byte
11:05:47 T:1544 ERROR: PlexKodiConnect Items -> itemtypes.py for tv episode has crashed for item 4054. Error:
11:05:47 T:1544 ERROR: PlexKodiConnect Items -> 'utf8' codec can't decode byte 0xe4 in position 83: invalid continuation byte
11:05:47 T:1544 NOTICE: PlexKodiConnect Items -> Traceback:
Traceback (most recent call last):
File "C:\Users\candd\AppData\Roaming\Kodi\addons\PlexKodiConnect-develop\resources\lib\itemtypes.py", line 1188, in add_updateEpisode
self.run_add_updateEpisode(item, viewtag, viewid)
File "C:\Users\candd\AppData\Roaming\Kodi\addons\PlexKodiConnect-develop\resources\lib\itemtypes.py", line 1306, in run_add_updateEpisode
playurl = API.getFilePath()
File "C:\Users\candd\AppData\Roaming\Kodi\addons\PlexKodiConnect-develop\resources\lib\PlexAPI.py", line 1241, in getFilePath
res = unquote(res).decode('utf-8')
File "C:\Program Files\Kodi\system\python\Lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 83: invalid continuation byte
11:05:47 T:1544 ERROR: PlexKodiConnect Items -> itemtypes.py for tv episode has crashed for item 5272. Error:
11:05:47 T:1544 ERROR: PlexKodiConnect Items -> 'utf8' codec can't decode byte 0xe1 in position 58: invalid continuation byte

from plex.txt

On Deck Behaviour

Hi. I think there are a couple of issues with on-deck.

  1. Plex server doesn't seem to be notified if TV Shows are played from on deck. Movies seem ok. I checked with both Plexpy and main plex server.

  2. This might be a skin issue, however in Aeon Nox Silvo, On deck posters are a actually fanart. If on deck is enabled as a widget and posters are selected, then you get thumbs. Movies again are fine.

Thanks

Works well, but every video starts with 3 trailers...

Everytime I try and play something from my Plex, instead of playing what I've asked it to, it plays 3 random trailers first (from other items in my library)

I can't figure out how to disable this, and I don't have the Video Extras plugin installed...

Thanks, great plugin otherwise!

Missing sorting options for TV shows

PKC 1.1.4 still doesn't allow for sorting TV shows by Date added anymore...

For me it happens in every single view in TV show sections. I'm mainly using Kodi's "In progress TV shows" section and that worked fine until PKC 1.1.3

But also directly in PKC addon i can only select the following:

Available sort options for TV are:

  • Title
  • Episodes
  • Last played
  • Year
  • My rating

Available sort options for Movies are:

  • Title
  • Year
  • Rating
  • My rating
  • MPAA rating
  • Duration
  • Date added
  • Play count

I'm using direct paths.

EDIT:
Did a complete reset and changed to plugin paths. No change.

Plex Transcoding

Is it possible to enable and change plex transcoding quality without navigating all the way to settings. Example, if I'm watching a movie and it begins to buffer, can an option be added in that same screen, or maybe the context menu, to enable transcoding and adjust the quality just as you would if watching the movie from the plex web app. Its a bit inconvenient to start a movie, see it lag, then navigate out to settings, force transcoding and adjust the quality then head back to the movie.

hang and crash while streaming from server

Hello,
Having a problem with streaming video from local server hanging and crashing Kodi. Consistently reproducible and occurs between 5-30 minutes after starting a stream. Video buffers a few times at beginning of play, but then is fine until the hang occurs and Kodi becomes unresponsive.
Knowns:
No known Kodi problems as other addons stream flawlessly from the Internet.
Wired network, no known network problems. Other programs on same machine have no issues streaming from server. Other machines on network have no issues streaming from server. Kodi and plexbmc on other machines on network have no issues.
No known hardware/driver issues on this machine.
Previously installed plexbmc on this machine did not have any issues.

Thanks!

kodi_hang_and_crash_verbose_debug.zip

Possible issue with multiple clients.

I noticed today that if I start watching something (tv show) in the Plex web interface and stop it after several minutes, for example 6, the web interface shows it as in progress but kodi shows it as competed. Anyone else see this. Will try to get logs when I get back.

PKC 1.1.11
Kodi 15.2

Improperly Tagged TV Episodes

My TV Episodes are linked to Movies not their appropriate TV Episode. I tested a multitude of my Movies and they all seemed to be tagged properly, but the TV Episodes are a mess. When I try to play them I get movies not the TV Show. I have tried resetting the database files and the entire settings of the program with no success yet.

PlexPy - Last Watched not updating from PKC

It looks like the Last Watched tab in PlexPy is not updating from PKC. PlexPy detects what's playing from PKC and even logs it in the user history as a "Kodi" device play, but it never receives the final completed watch status. PlexPy is configured at a 85% watched percent. I've also notified the PlexPy team, but this used to work before with PKC. Thanks for your time.

Connection problems with plex.tv

Hi, I have connection problem to my PMS. Setting up PKC works fine (sync libary and playing files)

Next time it takes a long time to find the server and to connect with the right user. The libary is not synced anymore.

Manually reselecting the server in the settings helps to sync again.

Log is send in the forum.

PMS and Kodi are on the same PC (win10)

Unknown answer from PMS

Hi croneter,

first of all, thank you for your awesome work!

I upgraded to the latest version of your addon (1.1.4), my Plex server is at version 0.9.16.4, Kodi is the latest Krypton (17) nightly.

Every 4 seconds, I see the following entry in kodi.log when watching a movie from Plex.

I have already tried with and without HTTPS in the PKC addon setting, but it always comes up:

ERROR: PlexKodiConnect DownloadUtils -> Unknown answer from PMS https://192.168.178.5:32400/:/timeline?SubtitleStreamIndex=&AudioStreamIndex=1&ratingKey=4338&state=playing&time=424000&duration=8286000000 with status code 400. Message:
NOTICE: PlexKodiConnect DownloadUtils -> <title>Bad Request</title>

400 Bad Request

Do you have an idea what the issue could be? It doesn't interfere with playback, just spaming the log.

Kodi not shutting down, many errors in Kodi log file, large Kodi log file

If using PlexKodiConnect with Plex music sync enabled and PKC add-on paths, NOT direct paths, 2 issues remain that will probably never be solved:

Kodi does not shut down properly sometimes

Kodi keeps scanning your music files, but can't find them (as add-on paths are set). This scanning is not aborted properly if you shut down Kodi, unfortunately.

The Kodi log file fills up with error messages

Kodi keeps scanning your music files, but can't find them (as add-on paths are set). Many error messages are recorded in the Kodi log file, see below. This is annoying, but uncritical, except for maybe the log file growing in size and filling up your hard disk space.

23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625377/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625377/' does not exist - skipping scan.
23:47:37 T:1748 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.4.11:32400/library/parts/625378/
23:47:37 T:1748 WARNING: MUSIC_INFO::CMusicInfoScanner::Process directory 'http://192.168.4.11:32400/library/parts/625378/' does not exist - skipping scan.

Music Playlist not shown and CCurlFile errors

Hello,

I've synced the whole Music library on KODI as well. The library is not so big.
All works fine.
BTW if I create a playlist on the Plex Server via Browser and then rescan the library from KODI, the music playlist is not shown. Of course the user used on KODI to connect to the Plex Server is the same holding the playlist on the Plex Server.
It's an issue or is it normal?

Here the log:

12:57:19 T:139955661694720  NOTICE: plugin.video.plexkodiconnect started
12:57:19 T:139955661694720  NOTICE: PlexKodiConnect - Full sys.argv received: ['plugin://plugin.video.plexkodiconnect/', '2', '?mode=refreshplaylist']
12:57:19 T:139955661694720  NOTICE: PlexKodiConnect - Parameter string: ?mode=refreshplaylist
12:57:19 T:139955661694720  NOTICE: PlexKodiConnect -> Requesting playlist/nodes refresh
12:57:19 T:139955661694720  NOTICE: plugin.video.plexkodiconnect stopped
12:57:19 T:139954185299712  NOTICE: PlexKodiConnect LibrarySync -> Refresh playlist and nodes requested, starting
12:57:19 T:139957324098048   ERROR: GetDirectory - Error getting plugin://plugin.video.plexkodiconnect/?mode=refreshplaylist
12:57:19 T:139957324098048   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.plexkodiconnect/?mode=refreshplaylist) failed
12:57:20 T:139955661694720  NOTICE: Using Image Cache Thread Count: 25 -> 1
12:57:20 T:139955661694720  NOTICE: plugin.video.plexkodiconnect started
12:57:20 T:139955661694720  NOTICE: PlexKodiConnect - Full sys.argv received: ['plugin://plugin.video.plexkodiconnect/', '3', '?content_type=audio']
12:57:20 T:139955661694720  NOTICE: PlexKodiConnect - Parameter string: ?content_type=audio
12:57:20 T:139955661694720  NOTICE: plugin.video.plexkodiconnect stopped
12:57:20 T:139954185299712  NOTICE: PlexKodiConnect LibrarySync -> Sorted views: ['Film', 'Spettacoli TV']
12:57:20 T:139954185299712  NOTICE: PlexKodiConnect VideoNodes -> Clearing nodes properties.
12:57:20 T:139954185299712  NOTICE: Using Image Cache Thread Count: 25 -> 1
12:57:20 T:139954185299712  NOTICE: PlexKodiConnect LibrarySync -> Found viewid: 2 viewname: Film viewtype: movie tagid: 1
12:57:20 T:139954185299712  NOTICE: Plex -> Writing playlist file to: /home/kodi/.kodi/userdata/playlists/video/Plex 2.xsp
12:57:20 T:139954185299712  NOTICE: Plex -> Successfully added playlist: Film
12:57:20 T:139954185299712  NOTICE: PlexKodiConnect VideoNodes -> Creating folder /home/kodi/.kodi/userdata/library/video/Plex-2/
12:57:20 T:139954185299712  NOTICE: PlexKodiConnect LibrarySync -> Found viewid: 1 viewname: Musica viewtype: artist tagid: 2
12:57:20 T:139954185299712  NOTICE: PlexKodiConnect LibrarySync -> Found viewid: 3 viewname: Spettacoli TV viewtype: show tagid: 3
12:57:20 T:139954185299712  NOTICE: Plex -> Writing playlist file to: /home/kodi/.kodi/userdata/playlists/video/Plex 3.xsp
12:57:20 T:139954185299712  NOTICE: Plex -> Successfully added playlist: Spettacoli TV
12:57:20 T:139954185299712  NOTICE: PlexKodiConnect VideoNodes -> Creating folder /home/kodi/.kodi/userdata/library/video/Plex-3/
12:57:20 T:139954185299712  NOTICE: Using Image Cache Thread Count: 25 -> 1
12:57:20 T:139954185299712  NOTICE: PlexKodiConnect LibrarySync -> Removing views: []
12:57:20 T:139954185299712  NOTICE: PlexKodiConnect LibrarySync -> Finished processing views. Views saved: [{'itemtype': u'movie', 'id': u'2', 'name': u'Film'}, {'itemtype': u'artist', 'id': u'1', 'name': u'Musica'}, {'itemtype': u'show', 'id': u'3', 'name': u'Spettacoli TV'}]
12:57:20 T:139954185299712  NOTICE: PlexKodiConnect LibrarySync -> Refresh playlists/nodes completed
12:57:23 T:139954185299712  NOTICE: Using Image Cache Thread Count: 25 -> 1
12:57:23 T:139954048120576  NOTICE: Previous line repeats 1 times.

In addition I'm getting A LOT of those errors in the logs:

12:59:12 T:139954048120576   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for https://<CUTTED_BY_ME>.plex.direct:32400/library/parts/10869/
12:59:12 T:139954048120576 WARNING: Process directory 'https://<CUTTED_BY_ME>.plex.direct:32400/library/parts/10869/' does not exist - skipping scan.

The id after parts is increasing on every line. Seems related to the music library, but not 100% sure.
BTW I've ONLY the Plex library on KODI with Plex Server remote.

Thanks!

Simon

error finding plex companion from windows phone plex

Been looking at the error logs and comparing responses from an android plex client to the plex companion in kodi connect and have found a possible solution in the code. The response from an android box is in text/xml whereas your component sends in text/plain. Would you be kind enough to try changing this within def do_OPTIONS(self): In listener.py

DTS-HD audio is not correctly identified

DTS-HD audio is tagged in Kodi as DTS instead of DTS-HD. The fault is in PlexAPI.py and can be fixed as follows:

Replace:

profile = mediaStream.get('codecID', '').lower()
if "dca" in audiotrack['codec'] and "dts-hd ma" in profile:
  audiotrack['codec'] = "dtshd_ma"

With:

profile = mediaStream.get('profile', '').lower()
if "dca" in audiotrack['codec'] and "ma" in profile:
  audiotrack['codec'] = "dtshd_ma"

After running a full sync, DTS-HD audio is now correctly reported in Kodi. For reference, an example of the Plex XML for a DTS-HD part is as follows:

<Stream id="7961" streamType="2" selected="1" default="1" codec="dca" index="1" channels="6"
language="English" languageCode="eng" audioChannelLayout="5.1(side)" bitDepth="24"
bitrateMode="vbr" codecID="A_DTS" duration="7571584" profile="ma" samplingRate="48000"
title="Surround 5.1"/>

Error "Sync had to skip some items..." since PKC 1.1.10

Since PKC 1.1.10 i'm getting the "Sync had to skip some items because they could not be processed..." error.
Tried a full reset --> error message pops up "check the log"
Did a full Kodi and PKC reinstall --> sync works the first time but after a Kodi restart it won't sync, video directories are empty and the "Sync had to skip..." error shows up.

Log attached. Thanks.
kodilog.log.zip

Plex Plugin Support

Probably a moonshot due to interface issues, but is it possible to have Plex Plugins working in PKC?

Selecting Appearance Tweak causes issues

Updated to v1.1.11. Completely resynced database. Same issues as closed problem.

Un-selecting the Extend option make On Deck note report plugin path.

Selecting some combination of the other Apperance tweaks causes home screen On Deck to not update to the next unplayed episode.

new tv shows not being added to kodi library

Newly added TV shows are not being added automatically to Kodi. I tried this on multiple computers with different Plex server installs. It seems to work with Movies but does not work for TV Shows. Can you confirm if this works or not?

Latest Kodi Krypton not working, Library sync

Since a few days no more tv episodes are added to Kodi Library. New episodes are found in PMS but not pushed to Kodi with either manual sync nor scheduled sync. I have already reset Kodi library and also reinstalled Kodi with a new user profile.

My setup:

Ubuntu 16.04
PMS 0.9.16.6
Kodi 2:17.0~git20160609.0200-d432df0-0xenial

I can provide logs, you just need to tell which you like to have.

Bug when flinging music

Fling from plex webapp works if I select a single music title. If I select an Album or a Playlist it starts the first song in the list. If I select the second title from an album it plays the first. After the first it plays the second but I cant play it directly only if I select the title within the title section so that it is the only one in the list.

Plex android app is crashing when I connect to kodi a music title is currently playing.

[Feature Request] Ability to set buffer when transcoding.

I end up in places with quite variable internet fluctuating from 500kbps to 8mbps from minute to minute (yay hotel WiFi) so it would be really handy to have a "buffer X minutes" during playback.

As I understand it when Plex is transcoding it will do X amount at 100% cpu then back off and encode at a lower percentage once it has enough, this is controllable via the server options.

However it is up to the client to make the requests for chunks of the transcoded files from the server which from my estimates are somewhere around 30-60 seconds worth so even if I tell the server to encode 10mins full tilt this doesn't relate to 10 minutes client side. As you can imagine watching a 2 or 3 mbps stream with variable bandwidth involves a lot of stopping and starting which could be avoided (mostly) with a decent buffer, unfortunately the speeds aren't quite enough for reliable direct play as that would sort this out!

Ideally I would like to set this via the Kodi cache setting (in advancedsettings.xml), or from an option within PKC where I can set a value for how many seconds/minutes to cache.

Newly added tv episodes not showing

Newly added shows don't appear until a full scan is triggered either per the schedule or manually. I beleive new items should be picked up by the constant scanning?

PKC isn't updating Kodi database when a file changes name anymore

Sonarr updates some of the episodes in my library with better/different versions (I prefer WEBDL for most of my content) when these become available after the initial HDTV rips.

When these are replaced in my library, the file location of the item in my Kodi library isn't updated with the new location in 1.1.6 as it was in previous versions. I've included the portion of my log below where Kodi fails to find the file that was previously marked HDTV but is in fact now a WEBDL. This is for two shows, I then manually force a library refresh, then try again. Additionally, I have tried resetting the local database to no avail.

[removed log to de-clog issue]

DateAdded in music library is not correct

albums seems to be added in revers alphabetic order wich is - if the crawler syncs alphabetically- indeed the same as DateAdded.

I remember this issue from XBMC were I posted the same issue.
They changed code so that at initial scan, the file/folder date is taken into account.
So when you do a first scan, the oldest are added first, the newest files last. In this way you could order by DateAdded (in the beginning, XBMC didn't had this field in their database schema)

This was okay for me. When building a new database, at least the order added was respected.

Maybe you can do also something like this?

I don't know the exact technical details, but maybe you can configure PKC to sync in the same order (oldest files first)
In that way, the KODI database will at least be in the same order

Artwork not downloading on SPMC

Just installed v.1.2.0 on SPMC on Shield TV. Artwork such as clear logos, disc art, etc, is not downloading. Artwork supplied by PMS is fine, just the artwork supplied by PKC is absent. All was working fine with the previous version of PKC.

After playback is finished, screen switches to black (not off)

Hello,

I'm on 1.1.8 on LibreELEC 7.0.0 (Kodi 16.1) and in some cases, the screen goes to black after playback of a video file is finished. This means I don't hit stop but let it run till the end.

I have refresh rate switching enabled, so in most cases it switches to 24Hz during playback and then back to 50Hz for the Kodi menu.

The funny thing is that Kodi has no crashed, if I hit DOWN and OK on the remote, it starts the playback of the next episode, switches to 24Hz and shows the video. When I then hit stop, it switches to 50Hz and shows me the Kodi menu again.

Do you see anything related to PKC or is this a Kodi/driver issue?

Kind regards
hanzoh
kodi.log.txt

Extrafanart cannot be enabled for Native Paths

If I enable extrafanart in my skin, I get an errror:

08:39:38 T:123145303453696 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.TypeError'>
Error Contents: getExtraFanArt() takes exactly 2 arguments (0 given)
Traceback (most recent call last):
File "[removed]/plugin.video.plexkodiconnect.movies/default.py", line 36, in
entrypoint.getExtraFanArt()
TypeError: getExtraFanArt() takes exactly 2 arguments (0 given)
-->End of Python script error report<--

Direct Paths work

On Deck shows items for the wrong user

Curious bug appeared for me in 1.1.4 - my On Deck is now showing what the other users on my server are watching (and where they are in terms of progress on that episode) alongside the shows I currently have in my On Deck.

Kodi 16 on Kodibuntu, using Direct Paths.

Issues playing and downloading movie images

Hello,

I've installed (manually, because the repo was not working, don't know why) PlexKodiConnect:

  • PlexKodiConnect-1.2.3.zip
  • plugin.video.plexkodiconnect.movies.zip
  • plugin.video.plexkodiconnect.tvshows.zip
    The plugin is able to connect to Plex account and download the Database. The first issue is that the images are not downloaded. I got a lot of those errors:
ERROR: CCurlFile::Exists - Failed: Error(1) for https://<SNIP>.plex.direct:32400/library/metadata/2507/thumb/1461943570?X-Plex-Token=VeDDAeQZ2JrMToiD9w3z
ERROR: CCurlFile::Exists - Failed: Error(1) for https://<SNIP>.plex.direct:32400/library/metadata/2507/art/1461943570?X-Plex-Token=VeDDAeQZ2JrMToiD9w3z

Then, if I try to play anything, I got:

    11:44:55 T:2793493584   ERROR: Previous line repeats 9 times.
    11:44:55 T:2793493584  NOTICE: Thread LanguageInvoker start, auto delete: false
    11:44:55 T:2937058384  NOTICE: PlexKodiConnect KodiMonitor -> Method: Playlist.OnClear Data: {"playlistid":1}
    11:44:55 T:2793493584  NOTICE: -->Python Interpreter Initialized<--
    11:44:56 T:2793493584  NOTICE: Using Image Cache Thread Count: 5 -> 1
    11:44:56 T:2793493584  NOTICE: Parameter string: ?dbid=30&mode=play&id=2949&filename=Better.Call.Saul.1x05.Il.Pastorello.Delle.Alpi.ITA.BDMux.x264-UBi.mkv
    11:44:56 T:2793493584  NOTICE: PlexKodiConnect DownloadUtils -> Request session does not exist: start one
    11:44:56 T:2793493584  NOTICE: PlexKodiConnect DownloadUtils -> Verify SSL certificates set to: true
    11:44:56 T:2793493584  NOTICE: PlexKodiConnect DownloadUtils -> SSL client side certificate set to: None
    11:44:56 T:2793493584  NOTICE: PlexKodiConnect DownloadUtils -> Set server: https://<SNIP>.plex.direct:32400
    11:44:56 T:2793493584  NOTICE: PlexKodiConnect DownloadUtils -> Set token: xxxxxxx
    11:44:56 T:2793493584  NOTICE: PlexKodiConnect DownloadUtils -> Set userId: <SNIP>
    11:44:56 T:2793493584  NOTICE: PlexKodiConnect DownloadUtils -> Set username: <SNIP>
    11:44:56 T:2793493584  NOTICE: PlexKodiConnect DownloadUtils -> Requests session started on: https://<SNIP>.plex.direct:32400
    11:44:56 T:2991445072   ERROR: CecLogMessage - Write: write failed !
    11:48:30 T:2716943440  NOTICE: Using Image Cache Thread Count: 5 -> __init__ : 1
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlaybackUtils -> play : Play called.
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlayUtils -> mustTranscode : videoCodec: {'width': '720', 'videocodec': 'h264', 'container': 'mkv', 'bitrate': '1283', 'aspectratio': None, 'resolution': 'sd', 'bitDepth': None, 'height': '404'}
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlayUtils -> isDirectPlay : Kodi cannot access file None - no direct play
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlayUtils -> mustTranscode : videoCodec: {'width': '720', 'videocodec': 'h264', 'container': 'mkv', 'bitrate': '1283', 'aspectratio': None, 'resolution': 'sd', 'bitDepth': None, 'height': '404'}
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlayUtils -> isNetworkSufficient : The add-on settings bitrate is: 4000, the video bitraterequired is: 1283
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlayUtils -> getPlayUrl : File is direct streaming.
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlayUtils -> getPlayUrl : The playurl is: https://<SNIP>.plex.direct:32400/library/parts/4780/file.mkv?X-Plex-Platform=Linux&X-Plex-Client-Platform=Linux&Connection=keep-alive&X-Plex-Device-Name=Kodi+%28lemaker-pc%29&X-Plex-Provides=player&X-Plex-Token=VeDDAeQZ2JrMToiD9w3z&X-Plex-Client-Identifier=333dd48d-1fa7-4c08-a9f3-1e5c0ff1e814&Accept=%2A%2F%2A&X-Plex-Device=PlexKodiConnect&X-Plex-Product=PlexKodiConnect&Content-Type=application%2Fx-www-form-urlencoded&X-Plex-Version=0.01
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlaybackUtils -> play : Playlist start position: 0
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlaybackUtils -> play : Playlist plugin position: 0
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlaybackUtils -> play : Playlist size: 1
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlaybackUtils -> play : Resetting properties playback flag.
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect API -> externalSubs : Found external subs: []
    11:48:30 T:2716943440  NOTICE: PlexKodiConnect PlaybackUtils -> play : Play as a regular item.
    11:44:56 T:2991445072   ERROR: CecLogMessage - Write: write failed !
    11:44:56 T:2937058384  NOTICE: PlexKodiConnect KodiMonitor -> Method: Playlist.OnRemove Data: {"playlistid":1,"position":1}
    11:44:56 T:2793493584  NOTICE: PlexKodiConnect PlaybackUtils -> Processed as a playlist. First item is skipped.
    11:44:56 T:3053056000   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.plexkodiconnect.tvshows/2943/?dbid=30&mode=play&id=2949&filename=Better.Call.Saul.1x05.Il.Pastorello.Delle.Alpi.ITA.BDMux.x264-UBi.mkv]
    11:44:56 T:2659185744  NOTICE: Thread LanguageInvoker start, auto delete: false
    11:44:56 T:2659185744  NOTICE: -->Python Interpreter Initialized<--
    11:44:57 T:2659185744  NOTICE: Using Image Cache Thread Count: 5 -> 1
    11:44:57 T:2659185744  NOTICE: Parameter string: ?dbid=30&mode=play&id=2949&filename=Better.Call.Saul.1x05.Il.Pastorello.Delle.Alpi.ITA.BDMux.x264-UBi.mkv
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect DownloadUtils -> Request session does not exist: start one
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect DownloadUtils -> Verify SSL certificates set to: true
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect DownloadUtils -> SSL client side certificate set to: None
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect DownloadUtils -> Set server: https://<SNIP>.plex.direct:32400
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect DownloadUtils -> Set token: xxxxxxx
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect DownloadUtils -> Set userId: <SNIP>
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect DownloadUtils -> Set username: <SNIP>
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect DownloadUtils -> Requests session started on: https://<SNIP>.plex.direct:32400
    11:44:57 T:2991445072   ERROR: CecLogMessage - Write: write failed !
    11:44:57 T:2659185744  NOTICE: Using Image Cache Thread Count: 5 -> 1
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect PlaybackUtils -> Play called.
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect PlayUtils -> Kodi cannot access file None - no direct play
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect PlayUtils -> The add-on settings bitrate is: 4000, the video bitraterequired is: 1288
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect PlayUtils -> File is direct streaming.
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect PlayUtils -> The playurl is: https://<SNIP>.plex.direct:32400/library/parts/4774/file.mkv?X-Plex-Platform=Linux&X-Plex-Client-Platform=Linux&Connection=keep-alive&X-Plex-Device-Name=Kodi+%28lemaker-pc%29&X-Plex-Provides=player&X-Plex-Token=VeDDAeQZ2JrMToiD9w3z&X-Plex-Client-Identifier=333dd48d-1fa7-4c08-a9f3-1e5c0ff1e814&Accept=%2A%2F%2A&X-Plex-Device=PlexKodiConnect&X-Plex-Product=PlexKodiConnect&Content-Type=application%2Fx-www-form-urlencoded&X-Plex-Version=0.01
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect API -> Found external subs: []
    11:44:57 T:2659185744  NOTICE: PlexKodiConnect PlaybackUtils -> Play as a regular item.
    11:44:57 T:3053056000   ERROR: CCurlFile::Stat - Failed: Error(1) for https://<SNIP>.plex.direct:32400/library/parts/4774/file.mkv?X-Plex-Platform=Linux&X-Plex-Client-Platform=Linux&Connection=keep-alive&X-Plex-Device-Name=Kodi+%28lemaker-pc%29&X-Plex-Provides=player&X-Plex-Token=VeDDAeQZ2JrMToiD9w3z&X-Plex-Client-Identifier=333dd48d-1fa7-4c08-a9f3-1e5c0ff1e814&Accept=%2A%2F%2A&X-Plex-Device=PlexKodiConnect&X-Plex-Product=PlexKodiConnect&Content-Type=application%2Fx-www-form-urlencoded&X-Plex-Version=0.01
    11:44:57 T:3053056000  NOTICE: DVDPlayer: Opening: https://<SNIP>.plex.direct:32400/library/parts/4774/file.mkv?X-Plex-Platform=Linux&X-Plex-Client-Platform=Linux&Connection=keep-alive&X-Plex-Device-Name=Kodi+%28lemaker-pc%29&X-Plex-Provides=player&X-Plex-Token=VeDDAeQZ2JrMToiD9w3z&X-Plex-Client-Identifier=333dd48d-1fa7-4c08-a9f3-1e5c0ff1e814&Accept=%2A%2F%2A&X-Plex-Device=PlexKodiConnect&X-Plex-Product=PlexKodiConnect&Content-Type=application%2Fx-www-form-urlencoded&X-Plex-Version=0.01
    11:44:57 T:3053056000 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
    11:44:57 T:2793493584  NOTICE: Thread DVDPlayer start, auto delete: false
    11:44:57 T:2793493584  NOTICE: Creating InputStream
    11:44:57 T:2793493584   ERROR: CCurlFile::Stat - Failed: Error(1) for https://<SNIP>.plex.direct:32400/library/parts/4774/file.mkv?X-Plex-Platform=Linux&X-Plex-Client-Platform=Linux&Connection=keep-alive&X-Plex-Device-Name=Kodi+%28lemaker-pc%29&X-Plex-Provides=player&X-Plex-Token=VeDDAeQZ2JrMToiD9w3z&X-Plex-Client-Identifier=333dd48d-1fa7-4c08-a9f3-1e5c0ff1e814&Accept=%2A%2F%2A&X-Plex-Device=PlexKodiConnect&X-Plex-Product=PlexKodiConnect&Content-Type=application%2Fx-www-form-urlencoded&X-Plex-Version=0.01
    11:44:57 T:2793493584   ERROR: CCurlFile::FillBuffer - Failed: Error(1)
    11:44:57 T:2793493584   ERROR: CCurlFile::Open failed with code 0 for https://<SNIP>.plex.direct:32400/library/parts/4774/file.mkv?X-Plex-Platform=Linux&X-Plex-Client-Platform=Linux&Connection=keep-alive&X-Plex-Device-Name=Kodi+%28lemaker-pc%29&X-Plex-Provides=player&X-Plex-Token=VeDDAeQZ2JrMToiD9w3z&X-Plex-Client-Identifier=333dd48d-1fa7-4c08-a9f3-1e5c0ff1e814&Accept=%2A%2F%2A&X-Plex-Device=PlexKodiConnect&X-Plex-Product=PlexKodiConnect&Content-Type=application%2Fx-www-form-urlencoded&X-Plex-Version=0.01
    11:44:57 T:2793493584   ERROR: Open - failed to open source <https://<SNIP>.plex.direct:32400/library/parts/4774/file.mkv?X-Plex-Platform=Linux&X-Plex-Client-Platform=Linux&Connection=keep-alive&X-Plex-Device-Name=Kodi+%28lemaker-pc%29&X-Plex-Provides=player&X-Plex-Token=VeDDAeQZ2JrMToiD9w3z&X-Plex-Client-Identifier=333dd48d-1fa7-4c08-a9f3-1e5c0ff1e814&Accept=%2A%2F%2A&X-Plex-Device=PlexKodiConnect&X-Plex-Product=PlexKodiConnect&Content-Type=application%2Fx-www-form-urlencoded&X-Plex-Version=0.01>
    11:44:57 T:2793493584   ERROR: CDVDPlayer::OpenInputStream - error opening [https://<SNIP>.plex.direct:32400/library/parts/4774/file.mkv?X-Plex-Platform=Linux&X-Plex-Client-Platform=Linux&Connection=keep-alive&X-Plex-Device-Name=Kodi+%28lemaker-pc%29&X-Plex-Provides=player&X-Plex-Token=VeDDAeQZ2JrMToiD9w3z&X-Plex-Client-Identifier=333dd48d-1fa7-4c08-a9f3-1e5c0ff1e814&Accept=%2A%2F%2A&X-Plex-Device=PlexKodiConnect&X-Plex-Product=PlexKodiConnect&Content-Type=application%2Fx-www-form-urlencoded&X-Plex-Version=0.01]
    11:44:57 T:2793493584  NOTICE: CDVDPlayer::OnExit()
    11:44:57 T:3053056000   ERROR: Playlist Player: skipping unplayable item: 1, path [plugin://plugin.video.plexkodiconnect.tvshows/2943/?dbid=30&mode=play&id=2949&filename=Better.Call.Saul.1x05.Il.Pastorello.Delle.Alpi.ITA.BDMux.x264-UBi.mkv]
    11:44:57 T:2793493584  NOTICE: Thread BackgroundLoader start, auto delete: false
    11:44:57 T:3053056000  NOTICE: CDVDPlayer::CloseFile()
    11:44:57 T:3053056000  NOTICE: DVDPlayer: waiting for threads to exit
    11:44:57 T:3053056000  NOTICE: DVDPlayer: finished waiting
    11:44:57 T:3053056000  NOTICE: CDVDPlayer::CloseFile()
    11:44:57 T:3053056000  NOTICE: DVDPlayer: waiting for threads to exit
    11:44:57 T:3053056000  NOTICE: DVDPlayer: finished waiting
    11:44:57 T:2991445072   ERROR: CecLogMessage - Write: write failed !
    11:44:58 T:2937058384  NOTICE: PlexKodiConnect Player -> ONPLAYBACK_STOPPED
    11:44:58 T:2937058384  NOTICE: PlexKodiConnect Player -> Clear playlist properties.
    11:44:58 T:2937058384  NOTICE: PlexKodiConnect KodiMonitor -> Method: Player.OnStop Data: {"end":false,"item":{"id":30,"type":"episode"}}
    11:44:59 T:2991445072   ERROR: CecLogMessage - Write: write failed !

Seems more a CCurl error but don't know how to check it.

My system is a debian 8 jessie (kernel 3.10.94) on armv7l arch with python 2.7.3.
Kodi version 15.2

Any suggestion?

sorry for double posting. Asked here as well:

https://forums.plex.tv/discussion/220589/plexkodiconnect-issues-playing-and-downloading-movie-images/

Thanks a lot!

Simon

increase timeout to play a movie/show

For powersaving, all 5 disks will spin down (sleeping) after certain time of idle on my NAS.

If i start watching a movie/show on my kodi-client with PKC, the disk needs -of course- to spin up, which needs mostly a few seconds (5-10). On every start watching a movie/show from a sleeping disk, I receive a message "could not play movie/show". After second try movie/show starts immediately.

Is there a value/setting which could be set to wait a little bit longer for starting a movie/show, before popup comes with "could not play movie/show".

Thx

Little issue sending music stream from iPhone App to PlexKodiConnect

Hi again ;)

I'm testing to send from the Plex Iphone App a music stream from the App to the PlexKodiConnect player. KODI takes correctly the stream/command and in plays the music.
The only difference is that if I choose to play the music directly from KODI, then during the play on the home it shows the artist background and the album image.
If I choose to send the command via iPhone App, the background stay black, no album image. The title is shown correctly. Seems it doesn't take any image from the artist, even if present (and locally cached AFAYK).

Bug or normal?

Thanks!!

Simon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.