lostb1t / replex

Remix your Plex hubs
221 stars 7 forks source link

Collections aren't working for accounts with restrictions #67

Closed eandrade92630 closed 1 year ago

eandrade92630 commented 1 year ago

I know this is probably unrelated but thought I might point it out. thread 'tokio-runtime-worker' panicked at 'called Option::unwrap() on a None value', src/routes.rs:260:55

Other than that, can't find any logs related.

lostb1t commented 1 year ago

Hm hard time replicating this. What kind of restrictions do you mean? And does the user still have pinned items?

eandrade92630 commented 1 year ago

I have a profile for a younger kid. The pinned menus are still there and the collections show up in the recommended tab, but the actual collections tab show blank. As well as the collections I have set for HERO are not showing as HERO under recommended tab.

lostb1t commented 1 year ago

Replex does not alter the collections tab tho. If a user doesn't have access to a collection it will not show under collections. But the recommended rows for that collection will still show under recommended (yeah weird plex thing)

Make sure to name that the label is named properly: REPLEXHERO on a collection. And you might wanna restart Replex to clear the cache.

eandrade92630 commented 1 year ago

Access to collections is inherent. The collections have the proper labels as they work on a non restricted profile. I've restarted replex and this is still an issue.

lostb1t commented 1 year ago

What is actually restricted? As in exclude labels on collections? Can you tell me howto reproduce?

eandrade92630 commented 1 year ago

What I mean is this: https://support.plex.tv/articles/parental-controls/

I have a managed account with rating restrictions for my child

lostb1t commented 1 year ago

aaah k thanks. Will look into it

lostb1t commented 1 year ago

tested it out and working for me. But collections will only show if you add add a rating to a collection that the restricted account has access to. Otherwise it won't show up. But this is a Plex thing not a Replex thing.