Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

section_types movies shows "TV shows" #43

Closed
clundin opened this issue Jun 29, 2020 · 5 comments
Closed

section_types movies shows "TV shows" #43

clundin opened this issue Jun 29, 2020 · 5 comments

Comments

@clundin
Copy link

clundin commented Jun 29, 2020

I use section_types for movie but it shows TV shows.

 - platform: plex_recently_added
   name: Recently Added Movies # will create sensor.recently_added_movies
   token: !secret plex_token
   host: !secret plex_host
   port: 32400
   section_types:
   - movie
@maykar
Copy link
Member

maykar commented Jun 29, 2020

What does your card config look like?

@clundin
Copy link
Author

clundin commented Jun 29, 2020

It looks like this:

entity: sensor.recently_added_movies
title: Recently Downloaded
image_style: fanart
type: 'custom:upcoming-media-card'

@maykar
Copy link
Member

maykar commented Jun 29, 2020

If you go to this URL what do you see as the "type" of the sections it shows? Replace PLEXHOST with your plex IP and PLEXTOKEN with your token of course.

http://PLEXHOST:32400/library/sections?X-Plex-Token=PLEXTOKEN

@clundin
Copy link
Author

clundin commented Jun 29, 2020

Interesting. That seems to be the problem. I do see that I have the type "movie" for title="Movies" but also for title="Sage Other Videos" and title="Videos"

If I go into library they are set to "other videos" type. Not sure why they shows up as type "movie" in the XML? I've had plex for a long time.

@clundin
Copy link
Author

clundin commented Jun 29, 2020

I deleted the libraries that shows "Other Videos" in plex and recreated them as "TV Shows" - that did set the type to "shows". Seems "Other Videos" gets type set to "movie" for some reason.

That fixed it. Thanks!

@maykar maykar closed this as completed Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants