spootdev 56 Posted March 18, 2015 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.
ebr 16169 Posted March 18, 2015 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.
spootdev 56 Posted March 18, 2015 Author 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.
spootdev 56 Posted March 18, 2015 Author Posted March 18, 2015 think I found it in a log... /Users/username/MediaBrowser/ProgramData-Server/data/
ebr 16169 Posted March 18, 2015 Posted March 18, 2015 You shouldn't assume anything below the program data path.
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