Jump to content

Recommended Posts

masmith516
Posted

When navigating to "Songs", I'm trying to filter my playlist by selecting my "Favorites" and choosing a few "Genre" options.  I close out filter options and select play or shuffle.  The application then hangs and does nothing.  I can't go back to re-select songs.  In some cases, I have to restart my server.

I tried looking for Android logs and the 'files' folder was empty.  And I've attached the server logs.

I'm using Emby for Android 3.3.95 and server version 4.8.7.0.  All this started happening after upgrading to 4.8.x.x.

 

Any insights with this issue would be greatly appreciated.  Thanks.

embyserver.txt

Posted

Hi, when you do the same thing in the Emby web app, how does that compare?

masmith516
Posted

When I perform the same action on the app, it appears that nothing is happening.  But after 3 minutes, a playlist begins to play. I say appears that nothing is happening because there's nothing that says a process has started or that the app is in the middle of creating a playlist.  I does play, but it takes a while for the playlist to generate and begin.

viking19
Posted

I can confirm this issue the v4.8.7 and v4.9.0.22.

However, it isn't just with Favourites, it happens when filtering any of the main Music nodes (Albums, Artist, Album Artist, Songs) by genre and is the same behaviour as these threads  Shuffle All issue and Latest update broke Genre even more.

Quote

With server v4.8.7 on either the web browser or the mobile app 3 of 5 ways to shuffle/play are broken, server 4.9.0.16 improved this to 2 of 5 but there has been no improvement up to 4.9.0.22.

1: Music->Genre->Icon Context Menu->Shuffle or Play : Working

2: Music->Genre->Main Page->Shuffle or Play : Working

3: Music->Genre->Artists->Shuffle or Play : Slow playlist creation, high cpu usage during that time (fixed in 4.9.0.16+)

4: Music->Genre->Albums->Shuffle or Play : Very slow playlist creation, high cpu usage during that time (mobile app just give up)

5: Music->Genre->Songs->Shuffle or Play : Slow playlist creation, high cpu usage during that time

The speed is somewhat dependant on the number of items in the genre.

Add to the list (and are even slower than above)

6: Music->Albums->Filter->Select a Genre->Shuffle or Play : Extremely slow playlist creation, high cpu usage during that time (mobile app just give up)

7: Music->Album Artists->Filter->Select a Genre->Shuffle or Play : Extremely slow playlist creation, high cpu usage during that time (mobile app just give up)

8: Music->Artists->Filter->Select a Genre->Shuffle or Play : Slow playlist creation, high cpu usage during that time (fixed in 4.9.0.16+)

9: Music->Songs->Filter->Select a Genre->Shuffle or Play : Slow playlist creation, high cpu usage during that time

I tried #6 from the web browser, I clicked shuffle at 10:24 and over 7 minutes later it started to play.

2024-05-30 10:32:03.813 Debug SqliteItemRepository: ItemsService.GetItems.GetItems query time (slow 6x): 461378ms. Query: select count(*) OVER() AS TotalRecordCount,A.Id,A.IndexNumber,A.Name,A.Path,A.ParentIndexNumber,A.RunTimeTicks,A.ParentId,A.Album,A.AlbumId,A.Images,UserDatas.IsFavorite,UserDatas.Played,UserDatas.PlaybackPositionTicks,(Select ShareLevel from UserItemShares join AncestorIds2 on AncestorIds2.AncestorId=UserItemShares.ItemId where UserItemShares.UserId=1 and UserItemShares.ShareLevel not null and AncestorIds2.ItemId=A.Id order by Distance limit 1) as ShareLevel from (select A.id, RowNumber from (select id,ROW_NUMBER(*) over(ORDER BY RANDOMSORTVALUE(MediaItemsInnerProjectToMedia.Id || MediaItemsInnerProjectToMedia.SortName, 4963) ASC) as RowNumber from MediaItems MediaItemsInnerProjectToMedia Join ItemLinks2 ItemLinksFilters on ItemLinksFilters.ItemId=MediaItemsInnerProjectToMedia.Id and ItemLinksFilters.LinkedId=27941 where MediaItemsInnerProjectToMedia.Type=12 ORDER BY RANDOMSORTVALUE(MediaItemsInnerProjectToMedia.Id || MediaItemsInnerProjectToMedia.SortName, 4963) ASC ) as InnerQueryItems join MediaItems A on A.Id = InnerQueryItems.Id or A.Id in (Select ItemId from ItemLinks2 where ItemLinks2.LinkedId=InnerQueryItems.Id and ItemLinks2.Type in (0,1,5,6,7)) or A.Id in (Select ItemId from AncestorIds2 where AncestorIds2.AncestorId=InnerQueryItems.Id) ) as InnerQueryItems join MediaItems A on A.Id = InnerQueryItems.Id or A.Id in (Select ItemId from ItemLinks2 where ItemLinks2.LinkedId=InnerQueryItems.Id and ItemLinks2.Type in (0,1,5,6,7)) or A.Id in (Select ItemId from AncestorIds2 where AncestorIds2.AncestorId=InnerQueryItems.Id) left join UserDatas on A.UserDataKeyId=UserDatas.UserDataKeyId And UserDatas.UserId=1 where A.Type=11 AND Coalesce(ShareLevel, 0) > 0 Group by A.PresentationUniqueKey ORDER BY RANDOM() ASC LIMIT 300

 

albums filter by genre.txt

Posted

Hi we’ll take a look at it. Thanks for reporting.

  • 1 month later...
viking19
Posted

This behaviour has changed with the new beta but is still broken.

server 4.9.0.26
android mobile 3.4.08 and 3.4.11
firefox 127.0.2

1: Music->Genre->Thumb Context Menu->Shuffle or Play :  (android) Playback Error, There was an error processing the request. Please try again later.

(web app) Sometimes works but the shuffled now playing list has tracks with no time and/or song title listed. When it gets to this track "Playback Error, There was an error processing the request. Please try again later." occurs and playback stops. Sometimes the error happens immediately after clicking shuffle.

2: Music->Genre->Main Page->Shuffle or Play : (android)  Playback Error, There was an error processing the request. Please try again later.

(web app) Sometimes works but the shuffled now playing list has tracks with no time and/or song title listed. When it gets to this track "Playback Error, There was an error processing the request. Please try again later." occurs and playback stops. Sometimes the error happens immediately after clicking shuffle.

3: Music->Genre->Artists->Shuffle or Play : (web app and android) Playback Error, There was an error processing the request. Please try again later.

4: Music->Genre->Albums->Shuffle or Play : (web app and android) Playback Error, There was an error processing the request. Please try again later.

5: Music->Genre->Songs->Shuffle or Play : (web app and android) Working

6: Music->Albums->Filter->Select a Genre(s)->Shuffle or Play : (web app and android) Playback Error, There was an error processing the request. Please try again later.

7: Music->Album Artists->Filter->Select a Genre(s)->Shuffle or Play : (web app and android) Playback Error, There was an error processing the request. Please try again later.

8: Music->Artists->Filter->Select a Genre(s)->Shuffle or Play : (web app and android) Playback Error, There was an error processing the request. Please try again later.

9: Music->Songs->Filter->Select a Genre(s)->Shuffle or Play : (web app and android) Working

 

Below is the error for #7.

In the log (#7 album artists filter by genre shuffle.txt) I filtered by genre at 13:29:30, clicked shuffle at 13:30:00.

albumartistsfilterbygenreshuffleerror.thumb.jpg.73394cb0dc5d9627e2103dc4f89d019c.jpg

 

 

Below is the shuffled now playing list for #1 with the messed up tracks where it errors out.

In the log (#1 genre thumb context menu shuffle.txt) I used the context menu on the genre to shuffle at 13:38:00 and after playing the first track it displayed the error and quit at 13:41:25.

genrethumbcontextmenushuffle.thumb.jpg.18911e60df206aba8669078fc7a9eb9c.jpg

 

 

#7 album artists filter by genre shuffle.txt #1 genre thumb context menu shuffle.txt

  • 2 weeks later...
viking19
Posted

@Luke Is there any progress on this issue? This has been ongoing since 4.8 released and it seems I need to discover a new way to shuffle genres with each new beta. It has become very frustrating.

Posted

Hi, yes we are looking into this. Thanks.

viking19
Posted

server 4.9.0.28
android mobile 3.4.12
firefox 128.0.2

1: Music->Genre->Icon Context Menu->Shuffle : (web app) Working.
    (android) Sort of working. Shuffles but always starts with the same song (alphabetically first album artist, alphabetically first album, numerically first track)
1a: Music->Genre->Icon Context Menu->Play : (web app and android) Working. Plays Album Artists alphabetically by alphabetical album.

2: Music->Genre->Main Page->Shuffle : (web app) Working.
    (android) Sort of working. Shuffles but always starts with the same song (alphabetically first album artist, alphabetically first album, numerically first track)
2a: Music->Genre->Main Page->Play : (web app and android) Working. Plays Album Artists alphabetically by alphabetical album.

3: Music->Genre->Artists->Shuffle : (web app and android) Working.
3a: Music->Genre->Artists->Play : (web app and android) Just plays tracks in alphabetical order.

4: Music->Genre->Albums->Shuffle : (web app and android) Slow list creation with high server cpu usage. Eventually plays correctly.
4a: Music->Genre->Albums->Play : (web app and android) Slow list creation with high server cpu usage. Doubles up every track but plays does play albums in alphabetical order.

5: Music->Genre->Songs->Shuffle or Play : (web app and android) Working.

6: Music->Albums->Filter->Select a Genre(s)->Shuffle or Play : (web app and android) Slow with high server cpu usage. Eventually plays correctly.
6a: Music->Albums->Shuffle : (web app and android) Working.
6b: Music->Albums->Play : (web app) Just plays all tracks in alphabetical order
    (android) Plays first alphabetical track and is the only track in the now playing list, also displays "There was an error processing the request. Please try again later."

7: Music->Album Artists->Filter->Select a Genre(s)->Shuffle : (web app and android) Working
7a: Music->Album Artists->Filter->Select a Genre(s)->Play : (web app and android) Just plays all tracks in alphabetical order.
7b: Music->Album Artists->Shuffle : (web app) "There was an error processing the request. Please try again later."
    (android) Plays random song and is the only track in the now playing list, also displays "There was an error processing the request. Please try again later."
7c: Music->Album Artists->Play: (web app) Just plays all tracks in alphabetical order.
    (android) Plays first alphabetical track and is the only track in the now playing list, also displays "There was an error processing the request. Please try again later."


8: Music->Artists->Filter->Select a Genre(s)->Shuffle  : (web app and android) Working.
8a: Music->Artists->Filter->Select a Genre(s)->Play : (web app and android) Just plays all tracks in alphabetical order.
8b: Music->Artists->Play : (web app) Just plays all tracks in alphabetical order.
    (android) Plays first alphabetical track and is the only track in the now playing list, also displays "There was an error processing the request. Please try again later."
8c: Music->Artists->Shuffle : (web app) Creates a shuffled list but some tracks have no data. When it gets to this track "Playback Error, There was an error processing the request. Please try again later." occurs and playback stops. Sometimes the error happens immediately after clicking shuffle. (See second pic in my previous post)
    (android) Plays random song and is the only track in the now playing list, also displays "There was an error processing the request. Please try again later."

9: Music->Songs->Filter->Select a Genre(s)->Shuffle or Play : (web app and android) Working
9a: Music->Songs->Filter->Shuffle or Play : (web app and android) Working

I would say this is an improvement over 4.9.0.26.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...