cpd73 wrote:
> My code does not touch the LMS db, it creates its own SQLite database.
> Therefore, I wanted a quick way to update this database to reflect and
> metadata changes in my files. When doing this the script just reads the
> tags and updates the DB for any changes.
I keep my music files in a folder hierarchy like -artist > album >
filename.ext-. So I guess if I change the artist name all files below
will be deleted from the db and would have to be analyzed again. Not
that this will happen a lot, just curious. BTW does it fill the metadata
at the end because a first look at the musly.db (in progress) shows the
relative path (files) and the values (vals) but the other metadata
columns are still empty.
cpd73 wrote:
> The script only needs access to the LMS DB if you have CUE files where 1
> file has multiple tracks.
Good to know. So if I don't have any cue files this path is never
called/checked and I don't even have to set it in config.json, right?
Could you add os detection to *lib/musly.py* so manual editing of line
31 won't be necessary?
For macOS the extension is *dylib* (libmusly.*dylib* and
libmusly_resample.*dylib*).
The latest macOS 10.*15* (for which I've compiled the binaries) would
give you *Darwin*:
Code:
--------------------
>>> import os
>>> os.name
'posix'
>>> import platform
>>> platform.system()
'*Darwin*'
>>> platform.release()
'19.6.0'
--------------------
And how do you feel about adding/moving these settings from app.py to
config.json: DEFAULT_TRACKS_TO_RETURN, MIN_TRACKS_TO_RETURN,
MAX_TRACKS_TO_RETURN, NUM_PREV_TRACKS_FILTER_ARTIST,
NUM_PREV_TRACKS_FILTER_ALBUM, NUM_SIMILAR_TRACKS_FACTOR, SHUFFLE_FACTOR
? Might be nice to have all user configurable settings in one place.
About *create similarity mix*: when I call that from a track's context
menu/song details page it's using only this one track as a seed, right?
In other words, I could just take a look at which tracks musly-server
thinks are similar to this track.
I've started the analysis. Since you commit after 500 tracks maybe you
could a small info message stating the total number of tracks processed
so far. Would make it easier to track progress.
Anyway, I just wanted to thank you for taking the time to explain things
to me and for musly-server. And a thank you to Roland0 too. Quite
curious if this is going to work out on macOS and if it's going to make
listening to my music more interesting. As far as Essentia is concerned,
I thin one of you mentioned that the analysis part was *a lot* slower
than musly so I guess I'll never get to use that one because my hardware
is quite old and slow.
------------------------------------------------------------------------
afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=112713
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins