Comments (5)
This seems to be a server issue (although it's probably a windows-specific server issue) - I will look into this a bit more tomorrow.
from audiobookshelf-windows.
OK, I was able to repro and understand your bug.
This is an issue with the ffprobe version that's installed by the server (and it is indeed a windows specific issue, since the server only attempts to find and install ffprobe on Windows installs). The ffmpeg binaries (including ffprobe) that are currently being downloaded by the server (from ffbinaries.com) are version 4.4.1, however it looks like windows long path support has only been added to ffprobe in version 5.1 (You did the right thing looking for LongPathsEnabled==1, but unfortunately it is not enough to have it enabled - applications also need to be modified to support long paths)
After switching to ffprobe 6.1, I successfully added a book with a long path.
ffbinaries.com only recently (on Dec 28 2023, to be precise) started to offer the latest versions of ffmpeg (5.1 and 6.1), but unfortunately have not yet updated their API to point 'latest' to 6.1. This means that I'll need to make a couple of code changes to hardcode downloading version 6.1, and also replace existing older versions that it installed.
Stay tuned...
In the meantime, if you want to manually fix this, you can:
- Download the latest (6.1) ffmpeg and ffprobe binaries from here
- Replace the ffmpeg.exe and ffprobe.exe files found in your config directory (by default it's at %localappdata%\Audiobookshelf\config`) with the binaries you downloaded.
from audiobookshelf-windows.
@advplyr, can you please transfer this issue to the server queue?
from audiobookshelf-windows.
Can't transfer it since you are the owner. It's fine we can reference this in the PR
from audiobookshelf-windows.
OK, I was able to repro and understand your bug.
This is an issue with the ffprobe version that's installed by the server (and it is indeed a windows specific issue, since the server only attempts to find and install ffprobe on Windows installs). The ffmpeg binaries (including ffprobe) that are currently being downloaded by the server (from ffbinaries.com) are version 4.4.1, however it looks like windows long path support has only been added to ffprobe in version 5.1 (You did the right thing looking for LongPathsEnabled==1, but unfortunately it is not enough to have it enabled - applications also need to be modified to support long paths)
After switching to ffprobe 6.1, I successfully added a book with a long path.
ffbinaries.com only recently (on Dec 28 2023, to be precise) started to offer the latest versions of ffmpeg (5.1 and 6.1), but unfortunately have not yet updated their API to point 'latest' to 6.1. This means that I'll need to make a couple of code changes to hardcode downloading version 6.1, and also replace existing older versions that it installed.
Stay tuned...
In the meantime, if you want to manually fix this, you can:
- Download the latest (6.1) ffmpeg and ffprobe binaries from here
- Replace the ffmpeg.exe and ffprobe.exe files found in your config directory (by default it's at %localappdata%\Audiobookshelf\config`) with the binaries you downloaded.
Thanks alot for your help :) I will download the new 6.1 ffmpeg and ffprobe binaries and give it a go.
Thanks
from audiobookshelf-windows.
Related Issues (17)
- Adding a library HOT 6
- Changing Port From Tray HOT 1
- Migrating server data from an existing Docker installation HOT 7
- [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
- [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 1
- Metadata Embed
- unable to use vpn to access library while off server network HOT 1
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.