Comments (11)
Looking at more of them, it appears to be adding that first track a number of times equal to the total number of tracks.
from audiobookshelf.
The scanner uses the OS internal id for files and folders so if they are renamed it doesn't lose track.
Are you running the docker image on Unraid?
Is this happening to any other audiobooks?
from audiobookshelf.
Yes, on Unraid.
It happened to about 10. Rescanning this time didn't add any more, so maybe that one that added before had just been lying in wait.
from audiobookshelf.
I'm still not clear on what is happening.
If you delete the audiobook from Audiobookshelf and re-scan, is it adding the correct tracks?
When you rename a file in the audiobook folder it is duplicating the tracks?
from audiobookshelf.
I haven't tried deleting & re-adding, I'll give that a go this evening.
I did rename the problem files & rescanned, and the problem came back with those same files.
Your comment about the system using the OS's file IDs and the problem repeatedly being with the files sounds like the issue may be in my OS. Though I have seen weird folders popping up in my library recently, possibly these are softlinks or something getting brought in?
I'll test more tonight.
from audiobookshelf.
I could definitely see issues if your files are soft links. Thanks for looking into it.
from audiobookshelf.
I started up another container, audiobookshelf_test, to test it out. I was able to reproduce it with a couple and then of course when I went to get screenshots to help document it, I'm no longer able to reproduce it....
So when I was able to reproduce it, I noticed it is happening with books that are missing tracks. It happened after I went through Manage tracks and updated the track order, basically to ignore that track 1 is missing, and rescanned. Then sometimes that book now has track 2 duplicated in its list as many times as their are tracks.
I thought maybe it was softlinks because of the way the buttons are acting to uncheck tracks, but I cannot find anywhere in the entire library where duplicate tracks exist.
Here's what the buttons do on those duplicate tracks when it happens though. Click a red one makes others change state.
And now my test library actually has fewer errors in it than the original... LOL I guess I'm swapping the container names and path mappings!
from audiobookshelf.
When toggling a track to not include it should move to the top of the list. Even if they all have the same track number, it should still move to the top of the list, so that is strange.
Can you look in the developer console for errors? Ctrl+shift+i
from audiobookshelf.
Oh neat! Here it is.
https://drive.google.com/file/d/1rMtAvFOHVtVkubed5Cp0Xl5ArGJWiv5z/view?usp=sharing
from audiobookshelf.
I'm still lost on this one.
It seems like your files are being issued a new inode value, which is causing the scanner to think it is a new file.
I added an extra check in the scanner to help see what is happening.
If an audio file has the same path as the audio file being scanned, but a different inode value, then it will show this warning:
Logger.warn("[Scanner] Audio file with path already exists with different inode, New: "${file.filename}" (${file.ino}) | Existing: ${audioFileWithMatchingPath.filename} (${audioFileWithMatchingPath.ino})")
If you see this happen again on a scan, let me know if you see that warning in your log.
from audiobookshelf.
I came across an issue with the scanner not setting the inode for some files. This may have been the problem you had, but either way I added an extra step check in the scanner that should hopefully catch and resolve the issues you are having.
This is v1.2.5
from audiobookshelf.
Related Issues (20)
- [Bug]: [FfmpegHelpers] downloadPodcastEpisode: Error Error: ffmpeg exited with code 227: Conversion failed!
- [Enhancement]: Theming system for web app HOT 2
- [Bug]: Can't add/edit series HOT 5
- [Bug]: OIDC fails with LastLogin.io/Obligator HOT 1
- [Enhancement]: Should we support ability to set default user type on auto register instead of hardcoded it? HOT 4
- [Enhancement]: Really hope to add the function to skip the intro and outro of audiobooks. HOT 2
- [Bug]: Weekly Library Scan does not honor Metadata order of Precedence HOT 1
- [Bug]: no matching manifest for linux/arm/v7 HOT 1
- [Bug]: Error in v2.8.1 HOT 12
- [Bug]: SMTP relay fails to connect to Prontonmail bridge
- [Enhancement]: Split upload filewise
- Moving audio file to subdirectory marks original entry as "missing" HOT 3
- [Enhancement]: Native custom branding
- [Enhancement]: Toggle to display subtitle in library
- [Bug]: When enabling/diabling library watcher, change does not take effect until server restart
- [Enhancement]: normalize audio HOT 2
- Can the piped audio out for audiobookshelf be linked to snapclient? HOT 1
- [Bug]: 2.8.1 (Docker) Library Scan Fails Getting Repeated "alert number 12" in log file HOT 1
- [Bug]: Podcasts duplicate in UIs HOT 4
- [Bug]: Audiobookshelf errors when scanning titles containing an apostrophe in Windows share HOT 2
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.