Where can I find the path location to the files on my local hard drive?
#1
This is an embarrassingly simple question, because I'm sure most of you already know the answer...but where should I go in order to find the path location to the files on my local hard drive (which is located inside my Android media player)? It's an older media box (KDLinks A400), operating on the Android 7.0 OS. I want to add some of the TV show trailers I have in my local media library, and I need the information so I can set up the path info in the .nfo files for those shows. I'm currently running Kodi on 2 separate machines, 1 is my PC, where I can easily locate the path information (D:\Television\The Invaders (1967)\tvshow-trailer.mkv), but I guess don't understand how the Android operating system works, and where I can actually find the location of my local files. I have the Android box set up as a network drive on my Windows 7 computer, and it sees my TV show files location as "media_rw/sda2/TV Shows/" but I've tried adding that location in the .nfo file, with no luck." I also have "show hidden files and directories" clicked on, but for whatever the reason, when I open my kodi file manage, my .kodi folder is still invisible...but that's another story...anyway, all I'm trying to do is find the location of my TV shows, so I can write the path in my .nfo files. Any help would be greatly appreciated. Thank you in advance!
Reply
#2
Can you access the Kodi MyVideos database which is located in ...\Userdata\Databases\...
Once you grab that, check the path table for the full path used for your media.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
(2024-12-11, 23:16)Karellen Wrote: Can you access the Kodi MyVideos database which is located in ...\Userdata\Databases\...
Once you grab that, check the path table for the full path used for your media.
I see 2 "MyVideos.db" files (MyVideos121.db and MyVideos131.db) listed in the root-profile directory-Database..the path Kodi File Manager shows is "special://profile/Database", but I don't think that's what you were referring to.
Reply
#4
(2024-12-11, 23:44)cocopugg Wrote: I see 2 "MyVideos.db" files (MyVideos121.db and MyVideos131.db)
It is the one I am referring to. "special" are paths used by Kodi to enable it to deal with filesystems from different platforms... https://kodi.wiki/view/Special_protocol
You want the MyVideos131 which is the current version. The other DB is from the previous version of Kodi before you upgraded to v21.
https://kodi.wiki/view/Databases#Database_Versions

Use this if you don't know how to open it... https://sqlitebrowser.org/
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
You can also use KSCleaner and export the path table.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#6
Forgot this earlier, but you can check the Information Page for the path...

Image
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#7
(2024-12-12, 03:10)Karellen Wrote: Forgot this earlier, but you can check the Information Page for the path...

Image

Thank you, that helped some, as now when I go into the Information page, and I click on the "Trailer" button, it actually opens a file. However, instead of playing the show's trailer, it's playing the first file in my "Specials" folder instead, which baffles me, since the trailer file "tvshow-trailer.mkv" resides in my "The Invaders (1967)" folder. The subfolders are "Season 1, Season 2, and Specials." The path which the Information page gives me is: "videodb://tvshows/titles/125/" so I just added "tvshow-trailer.mkv" after it in the nfo file, which now looks like this: <trailer>videodb://tvshows/titles/125/tvshow-trailer.mkv</trailer> Am I doing something wrong? Thanks again for your help!
Reply
#8
(2024-12-12, 18:12)cocopugg Wrote: <trailer>videodb://tvshows/titles/125/tvshow-trailer.mkv</trailer>
I think 125 is pointing to a library entry, not a path. 125 being the ID of a video item, so appending the trailer after it is just causing weird results.
Can you enable Debug Mode in Settings>System>Logging, Restart Kodi, then run an Update Library and upload the log to Kodi Paste Site.
I'll try and find The Invaders (1967) in the log and see what path is attached.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#9
(2024-12-12, 22:03)Karellen Wrote:
(2024-12-12, 18:12)cocopugg Wrote: <trailer>videodb://tvshows/titles/125/tvshow-trailer.mkv</trailer>
I think 125 is pointing to a library entry, not a path. 125 being the ID of a video item, so appending the trailer after it is just causing weird results.
Can you enable Debug Mode in Settings>System>Logging, Restart Kodi, then run an Update Library and upload the log to Kodi Paste Site.
I'll try and find The Invaders (1967) in the log and see what path is attached.
I did everything you asked me to, but I can't see where the log file is, or know how to access it. This is what the log shows me onscreen "LOG: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/kodi.log" In Settings/Media Settings/General I have "Show hidden files and directories" clicked on, but in "Settings/File Manager" I still can't see anything past the "Android/data/org.xbmc.kodi/files/" directory. Any suggestions on what I should do next? Thanks again!
Reply
#10
(2024-12-11, 22:41)cocopugg Wrote: I have the Android box set up as a network drive on my Windows 7 computer, and it sees my TV show files location as "media_rw/sda2/TV Shows/" but I've tried adding that location in the .nfo file, with no luck



injecting assumptions since it's windows 7 and no other mention of what is serving the files
assumption is you are using windows file sharing
these are called "samba" and abbreviated as "smb"

kodi uses protocols, special, plugin, file, http, etc, etc.
paths are setup as "(protocol)://"

when a protocol is a remote resource location there is a server address
which makes "(protocol)://(host)"

from there you can access paths and files
"(protocol)://(host)/path/to/files/file.mkv"

since you are (probably) using samba, smb, then your url starts with "smb://"
add host and path from there

from your post the most probable location would be "smb://(host)/media_rw/sda2/TV Shows/"
or "smb://(host)/media_rw/sda2/TV Shows/The Invaders (1967)/"

-----

that being said, relative paths should also work within kodi
so if you're adding a url to an nfo file that is at the same location as a trailer then it should accept just the trailer filename with no path at all


-----

additionally if these are setup in kodi as sources then one would just need to edit a source to see what path is in there
Reply
#11
(2024-12-12, 22:57)izprtxqkft Wrote: so if you're adding a url to an nfo file that is at the same location as a trailer then it should accept just the trailer filename with no path at all
This is TV Shows. Automatic scanning of local trailers for TV Shows was never implemented, so the OP is using the workaround from the Trailers (wiki) wiki page to add it.

(2024-12-12, 22:57)cocopugg Wrote: but I can't see where the log file is, or know how to access it.
Ok, a few ways to access it on Android.
1. In the File Manager, you should have special://logpath which will take you straight to the log, and you can copy it to another location on your Windows pc
https://kodi.wiki/view/Log_file/File_manager_access

2. You can try this new addon... which does similar to the above method, but more automated... https://forum.kodi.tv/showthread.php?tid=379304

But try item 1. first.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#12
(2024-12-12, 23:10)Karellen Wrote: This is TV Shows. Automatic scanning of local trailers for TV Shows was never implemented, so the OP is using the workaround from the Trailers (wiki) wiki page to add it.

dang, ok thanks for the heads up *edited
Reply
#13
(2024-12-12, 23:10)Karellen Wrote:
(2024-12-12, 22:57)izprtxqkft Wrote: so if you're adding a url to an nfo file that is at the same location as a trailer then it should accept just the trailer filename with no path at all
This is TV Shows. Automatic scanning of local trailers for TV Shows was never implemented, so the OP is using the workaround from the Trailers (wiki) wiki page to add it.
(2024-12-12, 22:57)cocopugg Wrote: but I can't see where the log file is, or know how to access it.
Ok, a few ways to access it on Android.
1. In the File Manager, you should have special://logpath which will take you straight to the log, and you can copy it to another location on your Windows pc
https://kodi.wiki/view/Log_file/File_manager_access

2. You can try this new addon... which does similar to the above method, but more automated... https://forum.kodi.tv/showthread.php?tid=379304

But try item 1. first.
I've never used hastebin before, so I'm not sure what the protocols are for pasting and/or copying the info for the location of the log I've just pasted. Anyway, this is the url where I pasted the info. I hope this works, if not, please feel free to correct me on how to proceed. Thanks again, I appreciate your help. Here's the link:

https://paste.kodi.tv/odopalomit.kodi
Reply
#14
Quote:VideoInfoScanner: Finished scan. Scanning for video info took 1203 ms

scanning finished in 1.2s without doing anything ... do you have sources in kodi?
Reply
#15
(2024-12-13, 01:11)cocopugg Wrote: https://paste.kodi.tv/odopalomit.kodi
uploaded ok.
Unfortunately the Update Library ran for 1.2seconds. No movies or tv shows were scanned.
Are you sure your Sources are correctly set up? You have a functioning library?
The only other method now left to me is the MyVideos database.
If you add special://database to the File Manager, it will take you directly to the databases, and you can copy it over. Upload it to a filehosting site and provide the link.
If you want to keep it private, hit the Report button under my post, select Other and paste the link there.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
Where can I find the path location to the files on my local hard drive?0