Giter VIP home page Giter VIP logo

Comments (6)

xefil avatar xefil commented on August 15, 2024

If I try a manual library scan:

17:58:45 T:139687696000768  NOTICE: Using Image Cache Thread Count: 25 -> 1
17:58:45 T:139687696000768  NOTICE: plugin.video.plexkodiconnect started
17:58:45 T:139687696000768  NOTICE: PlexKodiConnect - Full sys.argv received: ['plugin://plugin.video.plexkodiconnect/', '4', '?mode=manualsync']
17:58:45 T:139687696000768  NOTICE: PlexKodiConnect - Parameter string: ?mode=manualsync
17:58:45 T:139687696000768  NOTICE: PLEX -> Requesting full library scan
17:58:45 T:139687696000768  NOTICE: plugin.video.plexkodiconnect stopped
17:58:45 T:139690315831808   ERROR: GetDirectory - Error getting plugin://plugin.video.plexkodiconnect/?mode=manualsync
17:58:45 T:139690315831808   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.plexkodiconnect/?mode=manualsync) failed
17:58:45 T:139687696000768  NOTICE: Using Image Cache Thread Count: 25 -> 1
17:58:45 T:139687696000768  NOTICE: plugin.video.plexkodiconnect started
17:58:45 T:139687696000768  NOTICE: PlexKodiConnect - Full sys.argv received: ['plugin://plugin.video.plexkodiconnect/', '5', '?content_type=video']
17:58:45 T:139687696000768  NOTICE: PlexKodiConnect - Parameter string: ?content_type=video
17:58:45 T:139687696000768  NOTICE: plugin.video.plexkodiconnect stopped

My system:

Fedora 23
Kodi 16.0 (default installation, first plugin this one)
Python 2.7.11

Thanks
Simon

from plexkodiconnect.

croneter avatar croneter commented on August 15, 2024

You found a bug, that's the first log you posted. I hope the second is connected to that. Thanks for sharing!

from plexkodiconnect.

xefil avatar xefil commented on August 15, 2024

Oh great to help!
Meanwhile I've opened Firefox and used there for a moment Plex.
Then, back to KODI and it has started to sync. I don't know if it's related.
Then, I've tried to start play a stream, but:

19:30:07 T:139710004328192  NOTICE: Using Image Cache Thread Count: 25 -> 1
19:30:07 T:139710004328192  NOTICE: Parameter string: ?dbid=95&mode=play&id=2974&filename=<STRING_CUTTED_BY_ME>.mkv
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect DownloadUtils -> Request session does not exist: start one
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect DownloadUtils -> Verify SSL certificates set to: true
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect DownloadUtils -> SSL client side certificate set to: None
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect DownloadUtils -> Set server: https://<STRING_CUTTED_BY_ME>.plex.direct:32400
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect DownloadUtils -> Set token: xxxxxxx
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect DownloadUtils -> Set userId: <STRING_CUTTED_BY_ME>
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect DownloadUtils -> Set username: <STRING_CUTTED_BY_ME>
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect DownloadUtils -> Requests session started on: https://<STRING_CUTTED_BY_ME>.plex.direct:32400
19:30:07 T:139710004328192  NOTICE: Using Image Cache Thread Count: 25 -> 1
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect PlaybackUtils -> Play called.
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect PlayUtils -> Kodi cannot access file None - no direct play
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect PlayUtils -> The add-on settings bitrate is: 320, the video bitraterequired is: 1215
19:30:07 T:139710004328192  NOTICE: PlexKodiConnect PlayUtils -> The network speed is insufficient to direct stream file. Transcoding
19:30:08 T:139710004328192   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: list indices must be integers, not str
                                            Traceback (most recent call last):
                                              File "/home/kodi/.kodi/addons/plugin.video.plexkodiconnect.tvshows/default.py", line 41, in <module>
                                                entrypoint.doPlayback(itemid, dbid)
                                              File "/home/kodi/.kodi/addons/PlexKodiConnect-develop/resources/lib/entrypoint.py", line 268, in doPlayback
                                                return pbutils.PlaybackUtils(xml).play(itemid, dbid)
                                              File "/home/kodi/.kodi/addons/PlexKodiConnect-develop/resources/lib/playbackutils.py", line 59, in play
                                                playurl = playutils.getPlayUrl()
                                              File "/home/kodi/.kodi/addons/PlexKodiConnect-develop/resources/lib/playutils.py", line 58, in getPlayUrl
                                                elif self.isTranscoding():
                                              File "/home/kodi/.kodi/addons/PlexKodiConnect-develop/resources/lib/playutils.py", line 221, in isTranscoding
                                                if not self.item['MediaSources'][0]['SupportsTranscoding']:
                                              File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 266, in __getitem__
                                                return self._children[index]
                                            TypeError: list indices must be integers, not str
                                            -->End of Python script error report<--
19:30:08 T:139710692825600   ERROR: PlayMedia could not play media: plugin://plugin.video.plexkodiconnect.tvshows/2966/?dbid=95&mode=play&id=2974&filename=<STRING_CUTTED_BY_ME>.mkv

Something related?

Simon

from plexkodiconnect.

croneter avatar croneter commented on August 15, 2024

No. To fix that last one, go to PKC settings, playback, and set quality to 1920x1080 40Mbps

from plexkodiconnect.

xefil avatar xefil commented on August 15, 2024

Thanks croneter!! Suggestion works ;)

from plexkodiconnect.

xefil avatar xefil commented on August 15, 2024

And thx for the update as well!
Cheers

from plexkodiconnect.

Related Issues (20)

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.