-
Notifications
You must be signed in to change notification settings - Fork 36
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
Does not find any videos in local media #46
Comments
Is this a media source you added, or is it one generated by default within HA? I've yet to update the card's code to handle "recent" (last 6 months maybe) updates to HA's media sources. So it's possible you've fallen into that deficiency in the card. I do plan to do so but I'm not sure when I will have time to do the work. You can try manually adding the media source and then using that name to see if that works:
|
I have used the mrdia_source path (Option 2), but the "Japan" directory is
a subdirectory of a media_dir defined in configuration.yaml as well.
TarheelGrad1998 ***@***.***> schrieb am Di., 1. Nov. 2022,
16:28:
… Is this a media source you added, or is it one generated by default within
HA?
I've yet to update the card's code to handle "recent" (last 6 months
maybe) updates to HA's media sources. So it's possible you've fallen into
that deficiency in the card. I do plan to do so but I'm not sure when I
will have time to do the work.
You can try manually adding the media source and then using that name to
see if that works:
1.
Add in configuration.yaml a media source (if it is not already):
media_dirs: Japan: [*path to video*]/video/Japan
2.
use the media source in the path:
`
- path: media-source://media_source/Japan/
—
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZLVVW7IBLHQNZHWV3AIU6TWGEZIJANCNFSM6AAAAAARTIZ4X4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Ah, sorry, gotcha. Then that should work then. Is that the proper case? Also, have you tried it with the trailing "/"? media-source://media_source/video/Japan/ |
I'll try the trailing /
TarheelGrad1998 ***@***.***> schrieb am Di., 1. Nov. 2022,
18:50:
… Ah, sorry, gotcha. Then that should work then.
Is that the proper case? Also, have you tried it with the trailing "/"?
media-source://media_source/video/Japan/
—
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZLVVW5YRBQ63CKGSEZPBPLWGFJ7BANCNFSM6AAAAAARTIZ4X4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Not sure if you've had any luck with this, but try the new options in v3.4 and see if they help |
Error message:
Invalid path. media-source://media_source/video/Japan
the media browser in HA does find the videos, URL is:
http://192.168.80.21:8123/media-browser/browser/app%2Cmedia-source%3A%2F%2Fmedia_source/%2Cmedia-source%3A%2F%2Fmedia_source%2Fvideo%2F./%2Cmedia-source%3A%2F%2Fmedia_source%2Fvideo%2FJapan
This translates to
media-source://media_source/,media-source://media_source/video/./,media-source://media_source/video/Japan
without UTL-Encoding, so the pathmedia-source://media_source/video/Japan/
seems to be correctIt's HA Supervised installation (latest 2022.10.x) on Debioan, the "real" path is
root@homeassistant:/usr/share/hassio/media/video/Japan
, the HassIO docker container sees this as/media/video/Japan
And yes, there are videos in there...
so, what's wrong here?
The text was updated successfully, but these errors were encountered: