lostb1t / replex

Remix your Plex hubs
221 stars 7 forks source link

Recommended tab missing after separating movies #63

Closed eandrade92630 closed 1 year ago

eandrade92630 commented 1 year ago

I have a library with combined versions. E.g. 1080p and 4K versions of a movie. I have a script I run to separate the movies so instead of having to select a version you can select the 1080 or 4K version directly from the library while browsing. This is done through the use of labels. This is however causing for the recommended tab to show up blank for that library and for my home screen to be missing more than half the rows. Here are some logs I captured: 2023-08-28T03:28:40.585154Z ERROR Request{remote_addr=socket://172.18.0.1:47358 version=HTTP/1.1 method=GET headers={"host": "xxxxxxxxxxxxx", "user-agent": "Mozilla/5.0 (Linux; Android 13; Pixel 7 Pro Build/TQ3A.230805.001; wv)PlexMobile/9.29.1.3463", "accept": "application/xml", "accept-encoding": "gzip", "accept-language": "en-us", "x-forwarded-for": "", "x-forwarded-host": "xxxxxxxxxxxxx", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-plex-advertising-donottrack": "0", "x-plex-advertising-identifier": "799211ad-f400-4f4f-847e-954f986927aa", "x-plex-client-identifier": "5d508b5ba2a80eec-com-plexapp-android", "x-plex-client-platform": "Android", "x-plex-device": "Pixel 7 Pro", "x-plex-device-name": "Pixel 7 Pro", "x-plex-device-screen-density": "560", "x-plex-device-screen-resolution": "3120x1440 (Mobile)", "x-plex-device-vendor": "Google", "x-plex-drm": "widevine:video", "x-plex-features": "external-media,indirect-media,hub-style-list", "x-plex-model": "cheetah", "x-plex-platform": "Android", "x-plex-platform-version": "13", "x-plex-product": "Plex for Android (Mobile)", "x-plex-provider-version": "6.4.0", "x-plex-provides": "controller,sync-target", "x-plex-version": "9.29.1.3463"} path=http://xxxxxxxxxxxxx/hubs/promoted?contentDirectoryID=2&count=10&excludeContinueWatching=1&excludeElements=Actor%2CCollection%2CCountry%2CDirector%2CGenre%2CLabel%2CMood%2CPart%2CPhoto%2CProducer%2CRole%2CSimilar%2CTopic%2CVast%2CWriter&excludeFields=file%2Csummary%2Ctagline&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeStations=1&includeTypeFirst=1&libraryHubsOnly=1&pinnedContentDirectoryID=2%2C6%2C1%2C4%2C5%2C7%2C8&X-Plex-Token=yVfAqYeYkresT4mJitzD&X-Plex-Language=en-us span.kind="server" service.name="replex"}: salvo_core::error: anyhow error occurred error=invalid value: integer 4039369200, expected i32 at line 1 column 431330 2023-08-28T03:28:47.056720Z ERROR Request{remote_addr=socket://172.18.0.1:47362 version=HTTP/1.1 method=GET headers={"host": "xxxxxxxxxxxxx", "user-agent": "Mozilla/5.0 (Linux; Android 13; Pixel 7 Pro Build/TQ3A.230805.001; wv)PlexMobile/9.29.1.3463", "accept": "application/xml", "accept-encoding": "gzip", "accept-language": "en-us", "x-forwarded-for": "", "x-forwarded-host": "xxxxxxxxxxxxx", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-plex-advertising-donottrack": "0", "x-plex-advertising-identifier": "799211ad-f400-4f4f-847e-954f986927aa", "x-plex-client-identifier": "5d508b5ba2a80eec-com-plexapp-android", "x-plex-client-platform": "Android", "x-plex-device": "Pixel 7 Pro", "x-plex-device-name": "Pixel 7 Pro", "x-plex-device-screen-density": "560", "x-plex-device-screen-resolution": "3120x1440 (Mobile)", "x-plex-device-vendor": "Google", "x-plex-drm": "widevine:video", "x-plex-features": "external-media,indirect-media,hub-style-list", "x-plex-model": "cheetah", "x-plex-platform": "Android", "x-plex-platform-version": "13", "x-plex-product": "Plex for Android (Mobile)", "x-plex-provider-version": "6.4.0", "x-plex-provides": "controller,sync-target", "x-plex-version": "9.29.1.3463"} path=http://xxxxxxxxxxxxx/hubs/sections/8?count=10&excludeElements=Actor%2CCollection%2CCountry%2CDirector%2CGenre%2CLabel%2CMood%2CPart%2CPhoto%2CProducer%2CRole%2CSimilar%2CTopic%2CVast%2CWriter&excludeFields=file%2Csummary%2Ctagline&includeEmpty=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeStations=1&includeTrailers=1&includeTypeFirst=1&libraryHubsOnly=1&X-Plex-Token=yVfAqYeYkresT4mJitzD&X-Plex-Language=en-us span.kind="server" service.name="replex"}: replex::routes: Failed to get plex response error=Other(Error("invalid value: integer 4039369200, expected i32", line: 1, column: 64672)) uri=/hubs/sections/8?excludeElements=Actor%2CCollection%2CCountry%2CDirector%2CGenre%2CLabel%2CMood%2CPart%2CPhoto%2CProducer%2CRole%2CSimilar%2CTopic%2CVast%2CWriter&excludeFields=file%2Csummary%2Ctagline&includeEmpty=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeStations=1&includeTrailers=1&includeTypeFirst=1&libraryHubsOnly=1&X-Plex-Token=yVfAqYeYkresT4mJitzD&X-Plex-Language=en-us&count=50&includeGuids=1 2023-08-28T03:31:07.834049Z ERROR Request{remote_addr=socket://172.18.0.1:58386 version=HTTP/1.1 method=GET headers={"host": "xxxxxxxxxxxxx", "user-agent": "Mozilla/5.0 (Linux; Android 13; Pixel 7 Pro Build/TQ3A.230805.001; wv)PlexMobile/9.29.1.3463", "accept": "application/xml", "accept-encoding": "gzip", "accept-language": "en-us", "x-forwarded-for": "", "x-forwarded-host": "xxxxxxxxxxxxx", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-plex-advertising-donottrack": "0", "x-plex-advertising-identifier": "799211ad-f400-4f4f-847e-954f986927aa", "x-plex-client-identifier": "5d508b5ba2a80eec-com-plexapp-android", "x-plex-client-platform": "Android", "x-plex-device": "Pixel 7 Pro", "x-plex-device-name": "Pixel 7 Pro", "x-plex-device-screen-density": "560", "x-plex-device-screen-resolution": "3120x1440 (Mobile)", "x-plex-device-vendor": "Google", "x-plex-drm": "widevine:video", "x-plex-features": "external-media,indirect-media,hub-style-list", "x-plex-model": "cheetah", "x-plex-platform": "Android", "x-plex-platform-version": "13", "x-plex-product": "Plex for Android (Mobile)", "x-plex-provider-version": "6.4.0", "x-plex-provides": "controller,sync-target", "x-plex-version": "9.29.1.3463"} path=http://xxxxxxxxxxxxx/hubs/promoted?contentDirectoryID=2&count=10&excludeContinueWatching=1&excludeElements=Actor%2CCollection%2CCountry%2CDirector%2CGenre%2CLabel%2CMood%2CPart%2CPhoto%2CProducer%2CRole%2CSimilar%2CTopic%2CVast%2CWriter&excludeFields=file%2Csummary%2Ctagline&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeStations=1&includeTypeFirst=1&libraryHubsOnly=1&pinnedContentDirectoryID=2%2C6%2C1%2C4%2C5%2C7%2C8&X-Plex-Token=yVfAqYeYkresT4mJitzD&X-Plex-Language=en-us span.kind="server" service.name="replex"}: salvo_core::error: anyhow error occurred error=invalid value: integer 4039369200, expected i32 at line 1 column 431330

lostb1t commented 1 year ago

Ive added better error reporting. So if you can update, reload your Home Screen and send the new log that would be helpfull

eandrade92630 commented 1 year ago

Oddly enough the latest update actually fixed things for me as well

lostb1t commented 1 year ago

Yeah I guessed what was causing the error and seem to have guessed it right lol. Closing