2020-02-11, 11:44
Hi
I have a ListItem (https://codedocs.xyz/xbmc/xbmc/group__py...titem.html) of a movie and would like to check, if the movie file is in a folder or folder structure below the source's base path or as a file directly in the source's base path. The reason for this is that I would later like to move the movie.
How can I achieve this? Can I get the "importing" source of a movie, it's path, and compare the paths?
Or can I get a list of all the sources with type "movies" and compare to them?
Do I have to check this in the library database?
Any help and hints are very appreciated, thank you
I have a ListItem (https://codedocs.xyz/xbmc/xbmc/group__py...titem.html) of a movie and would like to check, if the movie file is in a folder or folder structure below the source's base path or as a file directly in the source's base path. The reason for this is that I would later like to move the movie.
How can I achieve this? Can I get the "importing" source of a movie, it's path, and compare the paths?
Or can I get a list of all the sources with type "movies" and compare to them?
Do I have to check this in the library database?
Any help and hints are very appreciated, thank you