cpd73 wrote:
> I've just tried with:
>
> >
Code:
--------------------
> >
> "excludegenres":["Pop", "Rock"]
>
--------------------
> >
>
> And I see the following during analysis:
> >
Code:
--------------------
> >
> 2022-01-09 21:28:12 E Failed to analyze ABBA - Gold - Greatest Hits/01
Dancing Queen.mp3 (Excluding genre (Pop))
>
--------------------
> >
>
> Checked the DB, and no "Pop" tracks. (I tried with a subset of just 2
> albums). So, for me, it's working.
>
I think in my case it's likely because all the genres I no longer wanted
were already in the database - so perhaps it needs to look for any and
remove them in some cases?
That being the case, I tried to do this manually by deleting them from
the database. This seemingly worked fine, and when re-running the
analysis they were not re-added.
I do however seem to have corrupted an index doing so:
Code:
--------------------
2022-01-10 17:21:06 D Using subset (1000 of 30500) for setmusicstyle (chosen
from meta db)
Traceback (most recent call last):
File "M:\My Music\MusicSimilarity\music-similarity\music-similarity.py", line
33, in <module>
analysis.analyse_files(cfg, path, not args.keep_old, args.meta_only,
args.force, jukebox_file)
File "M:\My Music\MusicSimilarity\music-similarity\lib\analysis.py", line
197, in analyse_files
mus.add_tracks(db_tracks, config['musly']['styletracks'],
config['musly']['styletracksmethod'], trks_db)
File "M:\My Music\MusicSimilarity\music-similarity\lib\musly.py", line 268,
in add_tracks
smtracks[i] = mtracks[style_tracks[i]]
IndexError: invalid index
--------------------
I suspect that's because I now have index entries for genres and/or
tracks that no longer exist... but I'm not sure where. I've dropped and
re-created indexes in the db, but no luck yet... Can you provide any
pointers please?
Ta.
------------------------------------------------------------------------
mruddo's Profile: http://forums.slimdevices.com/member.php?userid=65325
View this thread: http://forums.slimdevices.com/showthread.php?t=115609
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins