albums and genres remains visible after removing indexation points
db_model version: 32
medialibary version: 0.11.1
-
models like medias (video/audios), artists, playlist are correctly empty
-
album and genres are still listed, no media are attached to them
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Developer
Could you provide the database after the removal?
Are you sure the DB model is 32? It's expected to be 35 for the 0.11.1
Collapse replies - Author Contributor
Are you sure the DB model is 32? It's expected to be 35 for the 0.11.1
> select db_model_version from Settings 32
yeah maybe I have some compilation issue, though my config.log says
>grep medialib config.log -A2 configure:56442: $PKG_CONFIG --exists --print-errors "medialibrary >= 0.11.0" configure:56445: $? = 0 configure:56459: $PKG_CONFIG --exists --print-errors "medialibrary >= 0.11.0" configure:56462: $? = 0 configure:56514: result: yes
database for reference:
- Developer
Could you have a medialib installed manually somewhere and a contrib version?
Thanks for the database!
- Author Contributor
comes from the contrib, but I don't exclude PEBCAK, I'll try to remove and recompile the medialib contrib
> grep _medialib config.log CFLAGS_medialibrary=' -pthread -I/home/pierre/workspace/vlc/contrib/x86_64-linux-gnu/include ' CPPFLAGS_medialibrary='' LIBS_medialibrary='-L/home/pierre/workspace/vlc/contrib/x86_64-linux-gnu/lib -lmedialibrary -lpthread -latomic -pthread -lsqlite3 -lz -lm -ldl -lpthread '
- Author Contributor
Are you sure the DB model is 32? It's expected to be 35 for the 0.11.1
🤦 , I opened the wrong db, I use a snap version of sqlitebrowser that can't read my .local folder - Developer
The issue is real nevertheless
😅 - Please register or sign in to reply
- Developer
However it seems we don't (yet) provide a way of ignoring genre without any present media, which is probably an issue here...
For albums it's already supported but it might come from the VLC module, maybe
QueryParameters::includeMissing
is set totrue
? Collapse replies - Author Contributor
maybe
QueryParameters::includeMissing
is set totrue
doe not looks like it
includeMissing is defaulted to false
struct QueryParameters { /* This query sorting parameter. Its actual meaning is query dependent */ SortingCriteria sort = SortingCriteria::Default; /* Descending order */ bool desc = false; /* If true, media that are stored on missing devices will still be returned */ bool includeMissing = false; };
- Developer
It seems the trigger only monitor for tracks deletion, while since AlbumTrack has been merged into Media, it should monitor a type change. Media are not deleted when the entry point gets removed, they are now converted to external media.
- Hugo Beauzée-Luyssen assigned to @chouquette
assigned to @chouquette
- Hugo Beauzée-Luyssen added model-change label
added model-change label
- Hugo Beauzée-Luyssen changed milestone to %0.11.2
changed milestone to %0.11.2
- Hugo Beauzée-Luyssen mentioned in merge request !647 (merged)
mentioned in merge request !647 (merged)
- Hugo Beauzée-Luyssen closed with commit 4ad27893
closed with commit 4ad27893
- Hugo Beauzée-Luyssen closed with merge request !647 (merged)
closed with merge request !647 (merged)
- Hugo Beauzée-Luyssen mentioned in merge request !648 (merged)
mentioned in merge request !648 (merged)