spootdev 56 Posted March 18, 2015 Share Posted March 18, 2015 Whipping up some tools for media cleanup and don't have OSX to test with. Could sumone tell me the local of the above file so I can throw it in my script anyways. Link to comment Share on other sites More sharing options...
ebr 14950 Posted March 18, 2015 Share Posted March 18, 2015 All databases are under our "data" directory. Keep in mind, any direct access you do outside of our API or other published methods can potentially break if we change something. Link to comment Share on other sites More sharing options...
spootdev 56 Posted March 18, 2015 Author Share Posted March 18, 2015 Yes, I'm aware it's under data........but what's data under. Windows: user_conn = connect("C:/Users/" + os.environ.get( "USERNAME" ) + "/AppData/Roaming/MediaBrowser-Server/data/library.db") Linux: user_conn = connect('/var/lib/mediabrowser/data/library.db') Mac: user_conn = connect('CHANGEME') And I don't update the db.....it's just a report which I hope to port over to plugins or sumthing in the future. Link to comment Share on other sites More sharing options...
spootdev 56 Posted March 18, 2015 Author Share Posted March 18, 2015 think I found it in a log... /Users/username/MediaBrowser/ProgramData-Server/data/ Link to comment Share on other sites More sharing options...
ebr 14950 Posted March 18, 2015 Share Posted March 18, 2015 You shouldn't assume anything below the program data path. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now