ruinernin / foxystreams

Some simple glue between a metdata plugin and a Debrid provider
Do What The F*ck You Want To Public License
12 stars 6 forks source link

fix for files playing with incorrect mediatype #14

Closed henryjfry closed 4 years ago

henryjfry commented 4 years ago

Foxystreams seems to not apply the mediatype correctly from "ui.metadata_from(args)" so I added a manual check to apply it should it not get picked up correctly.

ruinernin commented 4 years ago

Thanks for the PR.

Do you know why the infolabel type needs to be set to videos instead of video in the case of mediatype? I've not seen any reference to videos as type in the documentation.

drinfernoo commented 4 years ago

I've noticed in various adjacent API docs, or similar, inconsistencies between plural and singular (movie vs movies, etc), but I didn't realize we had to worry about that in Kodi docs, too 😩

Just par for the course, I guess!

henryjfry commented 4 years ago

Yeah there seem to be video infolabels and videos infolabels, I hadn't actually noticed that before but that could explain some issues I've had in the past.

ruinernin commented 4 years ago

Thanks again for the PR and for the explination!