Kodi Community Forum

Full Version: Check for valid media path
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This may be a stupid question, but if there a way to check to see if a media path is valid and return a boolean yes/no?

For example- You add a movie to your library, but then move the file. When you click on the movie in your library to play, you get the "This file is no longer available" error message. Is there a way to check for this ahead of time? I would like to add a status icon (like watched or in progress) for a missing file, but can't seem to figure out if it is possible.

Thanks for any help.
nope, not possible.
And also not the best idea to do since it requires disk access. Smile
I figured as much. Thanks.