Check for valid media path
#1
Question 
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.
bit(ten) skin (Thread) (Project Site)
metroTV skin (Thread) (Project Site)

Reply
#2
nope, not possible.
And also not the best idea to do since it requires disk access. Smile
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#3
I figured as much. Thanks.
bit(ten) skin (Thread) (Project Site)
metroTV skin (Thread) (Project Site)

Reply

Logout Mark Read Team Forum Stats Members Help
Check for valid media path0