rocstack / plex-hub-manager

Simple app to change the order of the plex hubs
5 stars 0 forks source link

Ignore List does not work #2

Open muhabmahmoud opened 3 weeks ago

muhabmahmoud commented 3 weeks ago

Everything works apart from the ignore list.

rocstack commented 3 weeks ago

This is my IGNORE_LIST Continue Watching,Recently Released Movies,Top Movies of the week,Recently Released Episodes,IMDb Popular,Recently Added in TV shows,Seasonal Movies,Recently Added in Films

It seems to be quite picky on case sensitivity and spaces

muhabmahmoud commented 3 weeks ago

Mine is Recently Played Movies,Recently Added Movies These are the only two collections I want to pin to the top of my home. Spacing and case is exactly as I have it on Plex.

muhabmahmoud commented 3 weeks ago

This is what my log looks like every time I run this. As previously mentioned, the only thing not working is the ignore list. Is there any way I can get to the bottom of what's causing the error or if that error is even related to my issue?

plex-hub-manager  | Starting hub randomizer...
plex-hub-manager  | Connected to Plex server
plex-hub-manager  | Randomizing hub order for library: Movies
plex-hub-manager  | Hub order updated successfully custom.collection.1.23325
plex-hub-manager  | Hub order updated successfully custom.collection.1.11594
plex-hub-manager  | Hub order updated successfully custom.collection.1.13925
plex-hub-manager  | Hub order updated successfully custom.collection.1.23317
plex-hub-manager  | Hub order updated successfully custom.collection.1.11489
plex-hub-manager  | Hub order updated successfully custom.collection.1.23323
plex-hub-manager  | Hub order updated successfully custom.collection.1.23331
plex-hub-manager  | Hub order updated successfully custom.collection.1.23332
plex-hub-manager  | Hub order updated successfully custom.collection.1.11474
plex-hub-manager  | Hub order updated successfully custom.collection.1.11496
plex-hub-manager  | Hub order updated successfully custom.collection.1.23347
plex-hub-manager  | Hub order updated successfully custom.collection.1.11472
plex-hub-manager  | Hub order updated successfully custom.collection.1.11498
plex-hub-manager  | Hub order updated successfully custom.collection.1.23346
plex-hub-manager  | Hub order updated successfully custom.collection.1.12657
plex-hub-manager  | Hub order updated successfully custom.collection.1.14767
plex-hub-manager  | Hub order updated successfully custom.collection.1.14761
plex-hub-manager  | Hub order updated successfully custom.collection.1.14765
plex-hub-manager  | Failed to update hub order. Error: 
400 Bad Request

plex-hub-manager  | Hub order updated successfully custom.collection.1.11478
plex-hub-manager  | Hub order updated successfully custom.collection.1.23328
plex-hub-manager  | Hub order updated successfully custom.collection.1.23349
plex-hub-manager  | Hub order updated successfully custom.collection.1.14770
plex-hub-manager  | Hub order updated successfully custom.collection.1.23327
plex-hub-manager  | Hub order updated successfully custom.collection.1.23337
plex-hub-manager  | Hub order updated successfully custom.collection.1.14772
plex-hub-manager  | Hub order updated successfully custom.collection.1.23322
plex-hub-manager  | Hub order updated successfully custom.collection.1.23348
plex-hub-manager  | Hub order updated successfully custom.collection.1.23320
plex-hub-manager  | Hub order updated successfully custom.collection.1.11476
plex-hub-manager  | Hub order updated successfully custom.collection.1.14775
plex-hub-manager  | Hub order updated successfully custom.collection.1.14799
plex-hub-manager  | Hub order updated successfully custom.collection.1.23321
plex-hub-manager  | Hub order updated successfully custom.collection.1.11477
plex-hub-manager  | Hub order updated successfully custom.collection.1.14773
plex-hub-manager  | Hub order updated successfully custom.collection.1.11506
plex-hub-manager  | Hub order updated successfully custom.collection.1.23329
plex-hub-manager  | Hub order updated successfully custom.collection.1.11507
plex-hub-manager  | Hub order updated successfully custom.collection.1.23314
plex-hub-manager  | Hub order updated successfully custom.collection.1.11485
plex-hub-manager  | Hub order updated successfully custom.collection.1.23318
plex-hub-manager  | Hub order updated successfully custom.collection.1.11596
plex-hub-manager  | Hub order updated successfully custom.collection.1.23330
plex-hub-manager  | Hub order updated successfully custom.collection.1.11504
plex-hub-manager  | Hub order updated successfully custom.collection.1.11473
plex-hub-manager  | Hub order updated successfully custom.collection.1.11491
plex-hub-manager  | Hub order updated successfully custom.collection.1.23315
plex-hub-manager  | Hub order updated successfully custom.collection.1.23342
plex-hub-manager  | Hub order updated successfully custom.collection.1.23336
plex-hub-manager  | Hub order updated successfully custom.collection.1.23324
plex-hub-manager  | Hub order updated successfully custom.collection.1.23341
plex-hub-manager  | Hub order updated successfully custom.collection.1.23344
plex-hub-manager  | Hub order updated successfully custom.collection.1.23319
plex-hub-manager  | Hub order updated successfully custom.collection.1.11564
plex-hub-manager  | Hub order updated successfully custom.collection.1.14766
plex-hub-manager  | Hub order updated successfully custom.collection.1.23333
plex-hub-manager  | Hub order updated successfully custom.collection.1.23334
plex-hub-manager  | Hub order updated successfully custom.collection.1.11475
plex-hub-manager  | Hub order updated successfully custom.collection.1.11484
plex-hub-manager  | Hub order updated successfully custom.collection.1.23326
plex-hub-manager  | Hub order updated successfully custom.collection.1.23338
plex-hub-manager  | Hub order updated successfully custom.collection.1.23343
plex-hub-manager  | Hub order updated successfully custom.collection.1.14763
plex-hub-manager  | Hub order updated successfully custom.collection.1.23345
plex-hub-manager  | Hub order updated successfully custom.collection.1.14745
plex-hub-manager  | Hub order updated successfully movie.recentlyadded
plex-hub-manager  | Hub order updated successfully custom.collection.1.23340
plex-hub-manager  | Hub order updated successfully custom.collection.1.11481
plex-hub-manager  | Hub order updated successfully custom.collection.1.11480
plex-hub-manager  | Hub order updated successfully custom.collection.1.14744
plex-hub-manager  | Hub order updated successfully custom.collection.1.23339
plex-hub-manager  | Hub order updated successfully custom.collection.1.11492
plex-hub-manager  | Hub order updated successfully custom.collection.1.23316
plex-hub-manager  | Waiting on next call...
rocstack commented 3 weeks ago

I'm not actually sure what's causing your issue but I've just updated the docker image with better logs and ignore list validation. Let me know if this helps.

muhabmahmoud commented 3 weeks ago

Oh dude that is really cool and extremely helpful! Finally found out what the problem was. First of all, the error is because I didn't have "Continue Watching" in my ignore list, and that one is pinned to the top by Plex default. Second, the app doesn't recognize the "Recently Added Movies" default home row, I'm assuming this is because it's not even a collection on Plex. Instead, I just created a smart collection that shows anything I've added in the past 30 days, which I like better. Thanks a lot man this is fantastic!

rocstack commented 3 weeks ago

Not a problem and glad you've resolved your issue. Yeah the default plex collections can be a be iffy since their identifiers are in a different format to user created ones.