Open 1liminal1 opened 4 days ago
Hi, did you remember to delete the cache in your browser after you restarted home assistant? It is required.
That's still a thing? I cant do that, I need those cookies.
I tried just removing files and that hasn't worked. Also explains why it doesn't work on the kiosk where I don't have access to things like cookies (which, even if I did, again I need for logins)
It is strange though that trailers did work till I upgraded the latest release.
Shame, anyway thanks
So I tried just removing the HA cookie only and it changed nothing. Except of course i've lost all settings and need to set up the side bar and theme ect all again. Maybe you don't know how important cookies are these days, and I probably wouldn't have said anything if it worked... But it didn't. Please make sure you know what you're talking about before you ask people to just "clear their cache!!!!"
It's not cookies you want to delete, its cached images and files. The cached javascript file that doesn't go away. I have to do this myself after each significant code change. You can pretty much delete the entire cache; but keep your passwords and cookies. Or, you could try on another web browser you never used with UMC.
I actually put this requirement right at the very top of the readme.MD
That was the first thing I did and it didn't work. I then thought maybe you meant the cookie. My mistake.
Steps I have taken
Clear the cache, restarted chrome.
Restarted HA
Click the link and tries to go to radarr or sonarr
Ive also tried incognito and using another browser with the same results
Something doesn't add up. I have no idea why your plex_recently_added card (when clicking on items), would try to connect to your sonarr and radarr instance.
Are you trying UMC version 0.6.0 with plex_recently_added, radarr_upcoming_media. or sonarr_upcoming_media integrations (or all 3)? Please also let me know which versions you have installed currently of each.
Does clicking on deep_links, take you to the respective Plex, Radarr, Sonarr show or movie webpages when you remove enable_trailers: true
from the respective card codes?
We just need to see what you're doing differently than others who are successfully using enable_trailers: true
PS: You also need to make sure you are using version 0.4.3 of Sonarr_upcoming_media and and 0.4.2 or Radarr_upcoming_media integrations.
Ok I think we are misunderstanding again. Hopefully this will be clear.
So it seems after the latest version UMC does not respect enable_trailers: true
or diable_hyperlinks: true
(i've tried both) it just defaults to vanilla options.
I am running UI minimalist with a full YAML dashboard. I don't know what changed in 0.6.0 but the previous version I tried when you first told me about the trailers worked fine along with the disabled hyperlinks.
In summary; this version does not respect key value for enable_trailers: true
or diable_hyperlinks: true
I've only tested trailer playback on the vanilla home assistant install with Chrome, Edge web browsers and Home Assistant Companion for mobile devices (after enabling automatic video playback). Can you please see if it works for you on a basic Home Assistant lovelace dashboard to rule out compatibility issues?
It sound like you might have a similar problem the person below.. same exact symptoms, he got it working. https://github.com/custom-cards/upcoming-media-card/issues/96
Did you have video trailers working on the previous version of UMC? If so, can you revert to the previous version UMC 0.5.9 to see if it works again? Also, try uninstalling UMC completely, reboot home assistant, and install the latest version again. That might force it to install the newer version.
Point 1,
Thats what Im doing, I am not using Dakboard. I've tried two computers and its the same behaviour.
Point 2
I've asked him what he means by "force clear lovelace cache"
Point 3
Ok, ill try that. It could be just something stuck on the server side. But I just want to understand what that guy means by "force clear lovelace cache" first :)
@1liminal1 "Force clear lovelace cache" is the same as clearing your web browser's cache; which you already did; plus. You even tried in web browsers and also 2 other computers. It's not something stuck in your web browser's cache; it's stuck on your Home Assistant (server side) just like you suspected.
Anyway, before you do anything, make sure you copy and paste the respective attribute data for your Radarr integration and post the code in your reply (Naviage to Home Assistant Developer Tools/STATES tab and type the word Radarr
to find your sensor.radarr_upcoming_media
sensor; then copy the first couple of items. It should look something like this:
data:
- title_default: $title
line1_default: $episode
line2_default: $release
line3_default: $rating - $runtime
line4_default: $number - $studio
icon: mdi:arrow-down-bold
- airdate: "2024-05-23T00:00:00Z"
release: Available Online $day
flag: true
title: Civil War
runtime: 109
studio: DNA Films
genres: War, Action, Drama
rating: ""
summary: >-
In the near future, a group of war journalists attempt to survive while
reporting the truth as the United States stands on the brink of civil war.
trailer: https://www.youtube.com/watch?v=c2G18nIVpNE
poster: https://image.tmdb.org/t/p/w500/sh7Rg8Er3tFcN9BpKIPOMvALgZd.jpg
fanart: https://image.tmdb.org/t/p/w780/z121dSTR7PY9KxKuvwiIFSYW8cf.jpg
deep_link: http://192.168.1.100:7878/movie/929590
- airdate: "2024-06-06T00:00:00Z"
release: Available Online $day
flag: true
title: Hit Man
runtime: 116
studio: Aggregate Films
genres: Romance, Comedy, Crime
rating: ""
summary: >-
A mild-mannered professor moonlighting as a fake hit man in police stings
ignites a chain reaction of trouble when he falls for a potential client.
trailer: https://www.youtube.com/watch?v=9a7C7Bxsm90
poster: https://image.tmdb.org/t/p/w500/1126gjlBf4hTm9Sgf0ox3LGVEBt.jpg
fanart: https://image.tmdb.org/t/p/w780/nv6F6tz7r61DUhE7zgHwLJFcTYp.jpg
deep_link: http://192.168.1.100:7878/movie/974635
Do you have either SSH or Samba addon setup on your Home Assistant instance (to have full access to your Home Assitant's \config
folder? If so, do this:
Clean install:
1) Completely uninstall UMC from home assistant via HACS
2) Reboot Home Assistance
3) After you reboot, navigate to the folder: \\homeassistant\config\www\community\upcoming-media-card
(or wherever your Home Assistant instance installs HACS frontend cards). Then, delete that folder.
4) After you confirm that this folder doesn't exist anymore. Reboot.
5) Now... install cleanly version 0.6.0 from the https://github.com/custom-cards/upcoming-media-card
repo.
6) Delete your browser cache one last time. Make sure you do this.
7) Now, try clicking on items in your Radarr, Sonarr, Plex UMC cards. Make sure you still have the setting: enable_trailers: true
is still there for all other your cards. Also make sure disable_hyperlinks: true
isn't in the YAML code.
If it's not possible to access \\homeassistant\config\www\community\upcoming-media-card
(or wherever you HACS installs your Home Assistant cards) do this:
Normal uninstall/reinstall of UMC:
1) Completely uninstall UMC from home assistant via HACS
2) Reboot Home Assistance
3) Install version 0.6.0 from the https://github.com/custom-cards/upcoming-media-card
repo.
6) Delete your browser cache one last time. Make sure you do this.
7) Now, try clicking on items in your Radarr, Sonarr, Plex UMC cards. Make sure you still have the setting: enable_trailers: true
in the respective YAML card code. Also make sure disable_hyperlinks: true
isn't there (since it will prevent cards from using trailers and deep_links).
Please let me know which steps you followed above (hopefully you were able to confirm that you deleted the upcoming-media-card install directory and its contents completely before installing again)
If the above methods don't work, uninstall UMC one more time. Reboot, and install upcoming_media_card version 0.5.8 from HACS:
Hey sorry, its been a super busy few days.
Here is the data from the radarr entity
Ill post the results of the clean install soon.
data:
- title_default: $title
line1_default: $episode
line2_default: $release
line3_default: $rating - $runtime
line4_default: $number - $studio
icon: mdi:arrow-down-bold
- airdate: '2024-05-23T00:00:00Z'
release: Available Online $day
flag: true
title: Civil War
runtime: 109
studio: DNA Films
genres: War, Action, Drama
rating: ''
summary: >-
In the near future, a group of war journalists attempt to survive while
reporting the truth as the United States stands on the brink of civil war.
trailer: https://www.youtube.com/watch?v=c2G18nIVpNE
poster: https://image.tmdb.org/t/p/w500/sh7Rg8Er3tFcN9BpKIPOMvALgZd.jpg
fanart: https://image.tmdb.org/t/p/w780/z121dSTR7PY9KxKuvwiIFSYW8cf.jpg
deep_link: http://192.168.190.3:7878/movie/929590
- release: In Theaters $day, $date
flag: false
title: Deadpool & Wolverine
runtime: 127
studio: Marvel Studios
genres: Science Fiction, Action, Comedy
rating: ''
summary: >-
A listless Wade Wilson toils away in civilian life with his days as the
morally flexible mercenary, Deadpool, behind him. But when his homeworld
faces an existential threat, Wade must reluctantly suit-up again with an
even more reluctant Wolverine.
trailer: https://www.youtube.com/watch?v=73_1biulkYk
poster: https://image.tmdb.org/t/p/w500/jbwYaoYWZwxtPP76AZnfYKQjCEB.jpg
fanart: https://image.tmdb.org/t/p/w780/dvBCdCohwWbsP5qAaglOXagDMtk.jpg
deep_link: http://192.168.190.3:7878/movie/533535
Ok, so I can't seem to delete the card :(
I tried the above and it was still the same, so I just removed the card and rebooted and all the elements are still there?
Everything is still here and the links go to Sonarr/ Radarr
But no card :(
I have to get on with other stuff, so no rush :)
Thanks for all your help
JUst to add \\homeassistant\config\www\community\upcoming-media-card
is not there. I know that this is the user exposed portion of HA and that updates here should be reflected is the HA container, but that does not seem to be happening
Got in to work this morning and it looks like its broken now.
(I promise I deleted the cache lol)
Ill reinstall today and let you know :)
Just an FYI as well, there are two Upcoming Media Cards in HACS. But when looking at yours all the links are broken? It looks pretty dodgy HAHA. Anyway just to let you know :)
Ok,
Ive gone back to 0.5.8 and trailers are working again. Plex upcoming does nothing?
Thanks
After updating to latest 0.6.0 enable_trailers: true does not work and tries to open the deep links
Describe the bug:
As above
Config YAML:
Components:
Plex upcoming media (as above does nothing) Sonarr tries to open sonarr Radarr tries to open radarr
HA Error:
No error
Troubleshooting Guide:
Home Assistant Version:
2024.6.4
Screenshots:
Additional Context: