Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Big Music Playlist Will Not Load. "ERROR: ParseJSON" #2033

Open
chrmkc opened this issue Nov 8, 2024 · 0 comments
Open

Big Music Playlist Will Not Load. "ERROR: ParseJSON" #2033

chrmkc opened this issue Nov 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chrmkc
Copy link

chrmkc commented Nov 8, 2024

Software Versions

  • Jellyfin Server Version: 10.10.1
  • Roku Client Version: 2.2.2

Describe the bug

Music playlist that are big (hundreds, or thousands of songs) will either not load or crash the roku.

How To Reproduce

  1. Create a playlist containing only mp3 files. In my personal usage 300+ is where it begins to crash.
  2. Either select the playlist and load the list contents, or hover over it and click play button on remote.

Logs

Logs using jellyfin debug mode:
Viewing playlist information:
[22:07:03] [INF] [3] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.PlaylistsController.GetPlaylistItems (Jellyfin.Api)' [22:07:03] [INF] [3] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetPlaylistItems", controller = "Playlists"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult1[MediaBrowser.Model.Querying.QueryResult1[MediaBrowser.Model.Dto.BaseItemDto]] GetPlaylistItems(System.Guid, System.Nullable1[System.Guid], System.Nullable1[System.Int32], System.Nullable1[System.Int32], MediaBrowser.Model.Querying.ItemFields[], System.Nullable1[System.Boolean], System.Nullable1[System.Boolean], System.Nullable1[System.Int32], MediaBrowser.Model.Entities.ImageType[]) on controller Jellyfin.Api.Controllers.PlaylistsController (Jellyfin.Api). [22:07:09] [INF] [3] Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor: Executing ObjectResult, writing value of type 'MediaBrowser.Model.Querying.QueryResult`1[[MediaBrowser.Model.Dto.BaseItemDto, MediaBrowser.Model, Version=10.10.1.0, Culture=neutral, PublicKeyToken=null]]'. [22:07:09] [INF] [3] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Executed action Jellyfin.Api.Controllers.PlaylistsController.GetPlaylistItems (Jellyfin.Api) in 5552.2852ms [22:07:09] [INF] [3] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executed endpoint 'Jellyfin.Api.Controllers.PlaylistsController.GetPlaylistItems (Jellyfin.Api)' [22:07:09] [INF] [3] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 GET http://192.168.1.7:8096/Playlists/805b48d8d761de9a8d86bf0e8c2b498d/Items?UserId=aef9672a022f413995f189ac8e5cec96 - 200 null application/json; charset=utf-8 5555.2166ms

Pressing play on remote on playlist
[22:05:07] [INF] [22] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.PlaylistsController.GetPlaylistItems (Jellyfin.Api)' [22:05:07] [INF] [22] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetPlaylistItems", controller = "Playlists"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult1[MediaBrowser.Model.Querying.QueryResult1[MediaBrowser.Model.Dto.BaseItemDto]] GetPlaylistItems(System.Guid, System.Nullable1[System.Guid], System.Nullable1[System.Int32], System.Nullable1[System.Int32], MediaBrowser.Model.Querying.ItemFields[], System.Nullable1[System.Boolean], System.Nullable1[System.Boolean], System.Nullable1[System.Int32], MediaBrowser.Model.Entities.ImageType[]) on controller Jellyfin.Api.Controllers.PlaylistsController (Jellyfin.Api). [22:05:11] [INF] [22] Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor: Executing ObjectResult, writing value of type 'MediaBrowser.Model.Querying.QueryResult`1[[MediaBrowser.Model.Dto.BaseItemDto, MediaBrowser.Model, Version=10.10.1.0, Culture=neutral, PublicKeyToken=null]]'. [22:05:11] [INF] [28] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Executed action Jellyfin.Api.Controllers.PlaylistsController.GetPlaylistItems (Jellyfin.Api) in 4177.9194ms [22:05:11] [INF] [28] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executed endpoint 'Jellyfin.Api.Controllers.PlaylistsController.GetPlaylistItems (Jellyfin.Api)' [22:05:11] [INF] [28] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 GET http://192.168.1.7:8096/playlists/805b48d8d761de9a8d86bf0e8c2b498d/items?limit=2000&userId=aef9672a022f413995f189ac8e5cec96 - 200 null application/json; charset=utf-8 4184.0097ms

Logs from telnet into roku ip:
Quick Play started. itemNode= <Component: roSGNode:PlaylistData> =
{
change: <Component: roAssociativeArray>
focusable: false
focusedChild: <Component: roInvalid>
id: "805b48d8d761de9a8d86bf0e8c2b498d"
backdropUrl: ""
favorite: true
iconUrl: ""
id: ""
image: <Component: roSGNode:ImageData>
json: <Component: roAssociativeArray>
overview: ""
parentFolder: "d6146c9deffa706be00c9333d7284e49"
posterUrl: "http://localip/Items/805b48d8d761de9a8d86bf0e8c2b498d/Images/Primary?maxHeight=425&maxWidth=290&quality=90"
selectedAudioStreamIndex: 0
startingPoint: 0
SubTitle: ""
title: “playlist title“
Type: "Playlist"
watched: false
}
Quick Play itemNode type= playlist
BRIGHTSCRIPT: ERROR: ParseJSON: Invalid \u escape sequence value: pkg:/source/api/baserequest.brs(79)
Quick Play finished loading in 4.084 seconds.
BRIGHTSCRIPT: ERROR: ParseJSON: Invalid \u escape sequence value: pkg:/source/api/baserequest.brs(79)

Screenshots

n/a

Connection Information

  • Is server local or remote? local
  • Is server connection HTTP or HTTPS? http

Additional context

When Iv'e hovered over playlist and click play button on remote, the loading icon will appear for maybe 10 seconds and then stop. If I load the playlist I have to restart the entire app.

@chrmkc chrmkc added the bug Something isn't working label Nov 8, 2024
@chrmkc chrmkc changed the title Music Playlist Will Not Load Big Music Playlist Will Not Load. "ERROR: ParseJSON" Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant