Comments (8)
The problem still exists with Gerbera v2.1.0-45-g6379af30 (after #3092 has been merged).
from gerbera.
I know, try to find the root cause to fix it. It's the cleanup in grb-mode: we try to update instead of delete and create - in the end we have to cleanup orphans (unchanged because of metadata change)
from gerbera.
I tried compiled the latest master and tested this by using kid3-qt to add covers to all 14 files of an album.
After saving the files in kid3, only 3 of the 14 are shown in gerbera, and only 1 of the 3 has a cover image:
The logs say that all files have been scanned:
# journalctl -eu gerbera|tail -n25|grep Wonder|cut -b 61-
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 01 - One More Song For You.ogg_KID3
rror: [/usr/local/src/gerbera/gerbera-git/src/cds/cds_item.cc:86] virtual void CdsItem::validate() const Error: Item validation failed: file /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 01 - One More Song For You.ogg_KID3 not found
rror: [/usr/local/src/gerbera/gerbera-git/src/cds/cds_item.cc:86] virtual void CdsItem::validate() const Error: Item validation failed: file /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 01 - One More Song For You.ogg_KID3 not found
rror: [/usr/local/src/gerbera/gerbera-git/src/cds/cds_item.cc:86] virtual void CdsItem::validate() const Error: Item validation failed: file /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 01 - One More Song For You.ogg_KID3 not found
rror: [/usr/local/src/gerbera/gerbera-git/src/cds/cds_item.cc:86] virtual void CdsItem::validate() const Error: Item validation failed: file /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 01 - One More Song For You.ogg_KID3 not found
rror: [/usr/local/src/gerbera/gerbera-git/src/cds/cds_item.cc:86] virtual void CdsItem::validate() const Error: Item validation failed: file /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 01 - One More Song For You.ogg_KID3 not found
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 01 - One More Song For You.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 02 - EverythingYouDoIsWrongDay.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 03 - Sure.ogg_KID3
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 03 - Sure.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 04 - This Is.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 05 - Flying.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 06 - Princess Without Jewels.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 07 - What Does It Mean.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 08 - Silent Tears.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 09 - Feel Like Dying.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 10 - Appletree.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 11 - Boys Girls.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 12 - I Want You Babe.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 13 - Should I Cry.ogg
info: import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 14 - All I Want.ogg
Strange is that restarting gerbera does not fix this issue.
from gerbera.
Can you make sure the the CoverArt did not break the file format. Run with --debug (or matching debug-mode set in config.xml) to see details from taglib etc.
from gerbera.
The files are ok. I enabled taglib logging and restarted gerbera, which now shows "Enable Logging for Taglib".
Then I touched one of the missing files:
debug: [taglib_handler.cc:325] addArtworkResource(): Found artwork of type image/jpeg in file /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 14 - All I Want.ogg
debug: [taglib_handler.cc:301] fillMetadata(): TagLib handler done.
info: [js_functions.cc:74] js_print(): import: /data/media/Music/Alben/Wonderwall/What Does It Mean/Wonderwall - What Does It Mean - 14 - All I Want.ogg
This file now appears in the album.
from gerbera.
I support there was a problem when importing the file in the first run. Afterwards we look at the timestamp to check for a file change. If there was no change there is no import. You may retry and observe the messages in the taglib (or other log) why the scan breaks.
from gerbera.
Maybe the tag editor began writing the file, and gerbera tried to import it while it was being written.
from gerbera.
The file change should be handled by inotify. Does the editor restore the original modification date. Gerbera needs a change in timestamp to rescan the file.
from gerbera.
Related Issues (20)
- "session has expired" behaviour
- MP4 files not getting indexed HOT 15
- 2.1.0-18-g2d5a0f95 doesn't work HOT 2
- Thumbnails generation fails (ffmpegthumbnailer) HOT 11
- "Cannot add inotify watch: Permission denied" for new folders (`cp -a`) HOT 11
- `<box enabled="true|false">` or yes/no? HOT 1
- Key mismatch HOT 7
- Gerbera not found by TechniSat DigitRadio 580 HOT 5
- Dynamic placeholder for last played videos HOT 2
- External Link (URL) via Web UI creates wrong DB entry HOT 4
- Rescan library functionality problem HOT 2
- v2.1.0-63-gce861ded doesn't start with "-d", config.xml not found HOT 3
- With GCC 14, build fails with `box_layout.cc:45:14: error: βany_ofβ is not a member of βstdβ` and subsequent issues. HOT 3
- Non-existing file does not get removed from database HOT 5
- error: 'GrbLogger' does not name a type HOT 3
- ffmpeg error and warning messages - gerbera - .ts HOT 10
- Change -cc in Edit Details to unmodified display
- gerbera v2.1 subtitles working in vlc and old samsung tv! but NOT on modern samsung tv!! HOT 2
- 2.2.0 doesn't honor my '<port>' setting HOT 7
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 gerbera.