Comments (7)
I am pretty sure what you did is not supported at the moment.
I believe the docker version database contains paths to covers in the docker directory space (even if they map to windows folders). When you restore a backed up version of that into your Windows install (which knows nothing about docker), those paths do not exist, so images cannot be restored.
What you're requesting seems to be a valuable feature. I'm not sure how easy it is to implement (also possible that I'm all wrong about this, and it's a very easy fix).
@advplyr what do you think?
from audiobookshelf-windows.
The paths to your library folders would need to be exactly the same or it will not work, so in other words you cannot do what you are trying to do without manually updating all of the file paths in the database.
I don't think this is something we will be supporting since how would we know what file paths to use?
You can do this yourself though and maybe if you can write some good SQL queries it wouldn't be too difficult.
It's not just the images that won't work, you won't be able to play the audio files either since those file paths will also be incorrect.
from audiobookshelf-windows.
The paths to your library folders would need to be exactly the same or it will not work, so in other words you cannot do what you are trying to do without manually updating all of the file paths in the database.
I don't think this is something we will be supporting since how would we know what file paths to use?
in abswatcher, I obtained the mapping between docker and windows folders programmatically by inspecting the audiobookshelf docker container. A similar approach can be used here.
You can do this yourself though and maybe if you can write some good SQL queries it wouldn't be too difficult.
I might get to write this docker-to-windows audiobookshelf migration tool at some point - as I said, it would be a valuable feature to have, since up until now docker was the recommended option for installing on Windows, and I'm sure many people have large docker based config and metadata directories.
I don't believe I will get to this soon, though.
It's not just the images that won't work, you won't be able to play the audio files either since those file paths will also be incorrect.
from audiobookshelf-windows.
It will be nice to offer as an external script but I don't think it should be part of the server. Possibly part of the Windows tray app if it is possible to add in a clean way.
from audiobookshelf-windows.
Agreed, that's what I meant.
from audiobookshelf-windows.
This would be great, since the tools to create MB4 files and do metadata embedding and chapter editing (actually I haven't checked if these are in the Windows version), are only in the docker version and are great tools. So managing all the audio files there, and then eventually importing the database into the Windows version would be ideal.
from audiobookshelf-windows.
Using the built-in "Find and Replace All" tool in SQLite Browser, I migrated all old Docker file paths to the new Windows paths by simply updating the beginning of each path. This allowed me to transfer all user progress and all the other data. It took at most like 5mins and was super easy.
from audiobookshelf-windows.
Related Issues (19)
- Adding a library HOT 6
- Changing Port From Tray HOT 1
- Error [AudioFileScanner] No such file or directory HOT 5
- [Bug] Server command line arguments are unquoted HOT 3
- Auto update not working HOT 6
- Audiobookshelf crashes randomly? HOT 8
- [bug] File won't import, scan doesn't seem to find it
- Adding Metadata Embed and MB4 Conversion Tools HOT 2
- [Feature requests] Support Windows Junction HOT 4
- Latest Release and previous flagged as viruses by Kaspersky HOT 9
- What version of dot net? HOT 1
- Change "localhost" to my IP HOT 3
- watcher HOT 8
- Update prompt issue HOT 2
- Metadata Embed HOT 2
- unable to use vpn to access library while off server network HOT 2
- ABS Cannot Match Authors or Books from Audible HOT 2
- Bitdefender reporting virus HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audiobookshelf-windows.