Code Monkey home page Code Monkey logo

Comments (6)

mcarlton00 avatar mcarlton00 commented on June 13, 2024 1

Looks like fallout from #804. Was this a movie library or something else? I didn't notice any errors from my testing, but it's always possible I missed something.

from jellyfin-kodi.

oddstr13 avatar oddstr13 commented on June 13, 2024 1

@gurg1e You're seeing a different but related issue

from jellyfin-kodi.

oddstr13 avatar oddstr13 commented on June 13, 2024 1

@hf-hf Should be fixed in 1.0.2

from jellyfin-kodi.

gurg1e avatar gurg1e commented on June 13, 2024

I needed to resync my whole library and i'm getting a failure too. It just sits at 0% stuck on the first episode of the fist show in my library.

Jellyfin 10.8.13
JfK 1.0.1
Kodi 19.5

2024-04-09 10:24:09.575 T:3746     INFO <general>: JELLYFIN.jellyfin_kodi.objects.tvshows -> DEBUG::jellyfin_kodi/objects/tvshows.py:404 Setting episode pathParentId, episode 45b2ab24b3a9d76867094b5a4a4d8144, title Countdown, pathId 4, pathParentId None
2024-04-09 10:24:09.583 T:3746     INFO <general>: JELLYFIN.jellyfin_kodi.objects.tvshows -> DEBUG::jellyfin_kodi/objects/tvshows.py:407 ADD episode [4/2] 45b2ab24b3a9d76867094b5a4a4d8144: Countdown
2024-04-09 10:24:09.592 T:3746     INFO <general>: JELLYFIN.jellyfin_kodi.database -> ERROR::jellyfin_kodi/database/__init__.py:165 type: <class 'sqlite3.OperationalError'> value: table streamdetails has no column named strHdrType
2024-04-09 10:24:09.596 T:3746     INFO <general>: JELLYFIN.jellyfin_kodi.database -> DEBUG::jellyfin_kodi/database/__init__.py:169 [jellyfin] 2 rows updated.
2024-04-09 10:24:09.605 T:3746     INFO <general>: JELLYFIN.jellyfin_kodi.database -> DEBUG::jellyfin_kodi/database/__init__.py:172 ---<[ database: jellyfin ] 68548680
2024-04-09 10:24:09.611 T:3746     INFO <general>: JELLYFIN.jellyfin_kodi.database -> ERROR::jellyfin_kodi/database/__init__.py:165 type: <class 'sqlite3.OperationalError'> value: table streamdetails has no column named strHdrType
2024-04-09 10:24:09.615 T:3746     INFO <general>: JELLYFIN.jellyfin_kodi.database -> DEBUG::jellyfin_kodi/database/__init__.py:169 [video] 81 rows updated.
2024-04-09 10:24:09.629 T:3746     INFO <general>: JELLYFIN.jellyfin_kodi.database -> DEBUG::jellyfin_kodi/database/__init__.py:172 ---<[ database: video ] 70197544 ````

from jellyfin-kodi.

hf-hf avatar hf-hf commented on June 13, 2024

@mcarlton00 The sync of both movies and tvshows library programs has this issue.In the problematic program, I printed the track information, and indeed the VideoRangeType field is missing.

Movies sync print logs:
44.649 T:63120 info : JELLYFIN.jellyfin_kodi.database -> DEBUG::jellyfin_kodi\database_init_.py:60 --->[ database: jellyfin ] 2039767368688
2024-04-09 14:26:44.654 T:63120 info : JELLYFIN.jellyfin_kodi.objects.movies -> DEBUG::jellyfin_kodi\objects\movies.py:62 MovieId 9d09f6944d1883338fd4f26d47d92b2d not found
2024-04-09 14:26:44.663 T:63120 info : JELLYFIN.jellyfin_kodi.helper.api -> DEBUG::jellyfin_kodi\helper\api.py:75 Track VideoRangeType: {'Codec': 'h264', 'TimeBase': '1/1000', 'VideoRange': 'SDR', 'DisplayTitle': '1080p H264 SDR', 'NalLengthSize': '0', 'IsInterlaced': False, 'IsAVC': False, 'BitRate': 2418371, 'BitDepth': 8, 'RefFrames': 1, 'IsDefault': True, 'IsForced': False, 'Height': 1080, 'Width': 1920, 'AverageFrameRate': 25, 'RealFrameRate': 25, 'Profile': 'High', 'Type': 'Video', 'AspectRatio': '16:9', 'Index': 0, 'IsExternal': False, 'IsTextSubtitleStream': False, 'SupportsExternalStream': False, 'PixelFormat': 'yuv420p', 'Level': 41}
2024-04-09 14:26:44.665 T:63120 info : JELLYFIN.jellyfin_kodi.database -> ERROR::jellyfin_kodi\database_init_.py:165 type: <class 'KeyError'> value: 'VideoRangeType'

Tvshows sync print logs:
2024-04-09 11:51:49.720 T:30480 info : JELLYFIN.jellyfin_kodi.objects.tvshows -> DEBUG::jellyfin_kodi\objects\tvshows.py:299 EpisodeId 7a59de3f51b5df490168513e217c743d not found
2024-04-09 11:51:49.731 T:30480 info : JELLYFIN.jellyfin_kodi.helper.api -> DEBUG::jellyfin_kodi\helper\api.py:75 Track VideoRangeType: {'Codec': 'h264', 'CodecTag': 'avc1', 'Language': 'und', 'ColorSpace': 'bt709', 'ColorTransfer': 'bt709', 'ColorPrimaries': 'bt709', 'TimeBase': '1/12800', 'VideoRange': 'SDR', 'DisplayTitle': '1080p H264 SDR', 'NalLengthSize': '0', 'IsInterlaced': False, 'IsAVC': False, 'BitRate': 1803192, 'BitDepth': 8, 'RefFrames': 1, 'IsDefault': True, 'IsForced': False, 'Height': 1080, 'Width': 1920, 'AverageFrameRate': 24.999517, 'RealFrameRate': 25, 'Profile': 'High', 'Type': 'Video', 'AspectRatio': '16:9', 'Index': 0, 'IsExternal': False, 'IsTextSubtitleStream': False, 'SupportsExternalStream': False, 'PixelFormat': 'yuv420p', 'Level': 40}
2024-04-09 11:51:49.734 T:30480 info : JELLYFIN.jellyfin_kodi.database -> ERROR::jellyfin_kodi\database_init_.py:165 type: <class 'KeyError'> value: 'VideoRangeType'

from jellyfin-kodi.

hf-hf avatar hf-hf commented on June 13, 2024

I modified helper/api.py to use VideoRange when VideoRangeType is missing. After building and installing it, the synchronization works properly now.

from jellyfin-kodi.

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.