Comments (6)
thank you @kbaegis for the analysis.
there is indeed an error in the scanner because when adding a track to the DB, all information is validated in combination - but not including the file_id (from owncloud filecache).
will be fixed soon
from audioplayer.
@kbaegis can you please describe the issue more in detail?
I evaluated the scanner and the current process is on purpose: when a file with the same matching combination of the following fields is found, it is not added to the database again - because this would not make any sense.
- $aTrack['title'],
- $aTrack['number'],
- $aTrack['artist_id'],
- $aTrack['album_id'],
- $aTrack['length'],
- $aTrack['bitrate'],
- $aTrack['mimetype'],
- $aTrack['genre'],
- $aTrack['year']
This can be seen in the scanner when the numbers of "found" and "added" are different:
let me know
from audioplayer.
Here's the actual error I see from the owncloud log (sanitized):
http://hastebin.com/piqonubuvo.xml
"duplicate key value violates unique constraint"
from audioplayer.
Hello,
the problem is alerted by index
aa_tracks_file_user_id_idx
which has to be unique for file_id & user_id (where file_id is the unique ID from the cloud filecache).
But this can only be the case if you have the actual same file twice in your collection - not the same song in 2 different files.
I don´t know how this can happen - but can you please analyze how?
Any Idea?
perhaps a file linked twice via a symlink on OS level?
from audioplayer.
Hello,
Can you please post the "title" of the song mentioned in the errorlog? Could it be longer than 256 digits?
Thank you...
from audioplayer.
Closed due to lack of info.
from audioplayer.
Related Issues (20)
- [BUG] Not showing all album covers and scan errors... HOT 6
- [Feature Request] Additional List View "Genre" | Edit Meta Data | Delete Song Files HOT 1
- [Feature Request] Dashboard Widget - Save last choice HOT 1
- [BUG] Dashboard Widget - not playing pls playlists HOT 2
- shuffle playlist button dosent work HOT 1
- PHP 8.2 & Nextcloud 26 support HOT 1
- [Feature Request] HOT 2
- [Feature Request - Offtopic] Video Player prototype current state of afairs around nextcloud HOT 1
- Add search possibility HOT 1
- [Feature Request] Please add Composer and Performer as tags to search on HOT 1
- Wave form for audio, auto refresh HOT 2
- [BUG] Selecting track list obscures albums below it HOT 2
- [BUG] scanner stuck on scan, doesn't finish
- [BUG] Albums with an odd number of tracks have weird behavior HOT 1
- [BUG] Clicking the "previous track" button on the first track breaks playback controls
- [BUG] Column not found: 1054 Unknown column 'disc' in 'where clause' in...
- [BUG] Copyright-tag prevents scan for audio files HOT 1
- [Feature Request] Support full Bluetooth controll on Android HOT 4
- [BUG] Number of albums multiplied by scans/user
- [BUG] A song with title "0" cause scanner stopped to scan more music 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 audioplayer.