-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add more (episode) attributes #7
Comments
That should be pretty easy. I coincidently recently added plex web_links to attributes yesterday. I also made some cool improvements to upcoming media card related to web_links. #6 (comment) I also fixed some bugs along the way in both Plex recently added integration and upcoming-media-card. I plan to start a new fork for both really soon. I can add espide and season attributes for you. |
Done. It only needed a few lines of code. It was pretty simple compared to the web_link attribute I also added recently. I'll let you know as soon as I update: https://github.com/mkanet/upcoming-media-card and https://github.com/mkanet/sensor.plex_recently_added with the new features and bugfixes I recently added. |
Get it below. More updates to come... https://github.com/mkanet/upcoming-media-card |
Thanks 👍 would the 'libraryName' also be possible or does the Plex API not provide it? |
I don't think I understand. Do you mean just return |
Yes, For most users the libraries probably still have their default names, however they are customizable and required to cast plex media to Google Cast devices. When i do "Get Info" > "View XML" in plex, the attribute i would like to have is called "librarySectionTitle". This is available on all media elements, not just episodes and movies. On another topic: Currently you are updating your own fork of this repo, but not the one found in HACS. Are there plans to update this one too or maybe let HACS point to your repository instead? |
@Lackmake getting that data is actually very straightforward. upcoming-media-card and Plex_Recently_Added repos that are searchable on HACs were neglected without any updates for so long that they eventually became "archived". IMHO, upcomin_media_card is still arguably one of the nicest-looking cards on Home Assistant; with lots of potential for improvement. I've always wanted for it to be more interactive; I.E., being able to mouse-click or touch each TV Show Episode or Movie to take me directly to the Plex Web interface to start watching the Show or Movie. However, in order for that to happen, both Upcoming Media Card as well as Plex_Recently_Added would have to be updated with Since I knew that features like this would never be implemented, I decided to resurrect these two repos from the dead with my own forks. My intention is to add my repos on HACS soon and continue to provide support for them. As long as the requests are reasonable; and, don't bloat/slow down these components, I dont mind implementing them; especially if I can also take advantage of them. |
@Lackmake I have good news. The original author of all these components added me as a maintainer to these repos. Plex_Recently_Update now officially has episode number and season number and deep_link attributes I have not added library names to the attribute yet. I will do that after I update the original upcoming_media_card repo. |
Done. All official/original repos have been updated. From now on, you can just make your feature requests on the official repos' issues section. I still need to look at the backlog of feature requests on the official repos to see which ones are feasible; and, in which order. Since |
I don't see an update in HACS but I can close this issue nevertheless. |
Thanks for letting me know. It looks like the original repos were all removed from HACS after their statuses on Github changed to an 'archived' status (since HACS installer on Home Assistant wouldn't let us install I didnt notice this since I was using my forked repo's still; which I manually added in Home Assistant. I'll see if I can update HACS' official repo list to include all the original/official repos again. It looks like Stay tuned... |
Any news? |
I've build myself a custom card for displaying the info this sensor provides. I would really like some more media attributes for episodes eg episodeNumber and seasonNumber (not just the combined one called 'number'), libraryName (if possible).
I think plex provides many more info about the media which could be integrated here. I dont think that would break the upcoming-media-card as long as the existing attribute arent changed. So maybe these attributes can help me and others build more custom things more easily based on this sensor.
(With my card i use media_player.play_media to stream episodes from plex to a chromecast. For that to work i needed to seperate the Episode/Season number from the "number" attribute myself and had to hardcode my library-name. So i already accomplished what i wanted to do, but it could have been nicer 😄)
The text was updated successfully, but these errors were encountered: