Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36
  1. #31
    For my understanding it is necessary, that the music files are analysed. The analysed data is stored in a database.
    Is it possible to save the analysed data in the tags (ID3-Tags) too?
    In that way it is not necessary to analyse the music again after a re-installation (or something else)

    Thanks anyway for this great plugin!

  2. #32
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    736
    Quote Originally Posted by dermicha View Post
    Code:
    DEBUG:__main__:static_playlist result id:   1 sim:      nan file: /mnt/MUSIC_1/MUSIC/MUSIK/24BIT_LOSSLESS/A/Amy Winehouse - Back To Black (24,96000) (2007)/02 - You Know I'm No Good.flac
    The problem is the sim: nan part - this is the similarity score, and it's supposed to be a number, but it's not (nan = not a number).
    I'm not quite sure what's happening here - this score is calculated by libmusly, so either there's already an bug when analyzing, or during the calculation.
    Maybe libmusly cannot handle 24/96K tracks. Can you try the following:
    - move the current database (lmsmusly.db) somewhere else (or use a different DB path)
    - analyse some non-24/96K tracks
    - check if you get an output where the sim value is actually a number:
    Code:
    DEBUG:__main__:static_playlist result id: 342 sim: 0.106720 file: /data/music/The Wrens - The Meadowlands/10 - Per Second Second.flac

  3. #33
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    736
    Quote Originally Posted by bakker_be View Post
    Are you certain? Even v0.0.4 doesn't seem to know about it
    Quite sure it does:
    Code:
    $ ./lmsmusly.py  --db-path ~/tmp dynamic -h
    
    usage: lmsmusly.py dynamic [-h] --lms LMS [--lms-port LMS_PORT] --lms-player
                               LMS_PLAYER [--lms-notifications] [--read-jukebox]
                               [--numtracks NUMTRACKS]
                               [--seedtrack-index SEEDTRACK_INDEX]
                               [--no-duplicates [N]] [--webui]
                               [--webui-host WEBUI_HOST] [--webui-port WEBUI_PORT]
                               [--webui-logpath WEBUI_LOGPATH]
    
    optional arguments:
      -h, --help            show this help message and exit
      --lms LMS             LMS server name
      --lms-port LMS_PORT   LMS server port (default: 9000)
      --lms-player LMS_PLAYER
                            LMS player ID. Format: 00:00:00:00:00:00
      --lms-notifications   show notifications on player
      --read-jukebox        read on-disk jukebox on startup
      --numtracks NUMTRACKS
                            length of playlist (default: 10)
      --seedtrack-index SEEDTRACK_INDEX
                            playlist index of track to use as seed (default: 0)
      --no-duplicates [N]   Avoid repeating a track for the next N tracks
                            (default: 100)
      --webui               provide a web-based user interface
      --webui-host WEBUI_HOST
                            host name / IP address for WebUI (default: 0.0.0.0)
      --webui-port WEBUI_PORT
                            port for WebUI (default: 8080)
      --webui-logpath WEBUI_LOGPATH
                            logfile path for WebUI (default: /tmp)

  4. #34
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    736
    Quote Originally Posted by OleHB View Post
    For my understanding it is necessary, that the music files are analysed. The analysed data is stored in a database.
    Correct

    Is it possible to save the analysed data in the tags (ID3-Tags) too?
    Unlikely - even disregarding any size limits, there's no id3 frame type designated for binary custom extensions.

    In that way it is not necessary to analyse the music again after a re-installation (or something else)
    As long as you keep the database, there shouldn't be any issue with preserving the analysis data. It's just a file, so you can easily back it up.
    The only obvious case for re-analysis would be if you move your music files. However, since it's a sqlite3 DB, you could use any sqlite3 client to update the paths.

  5. #35
    Senior Member bakker_be's Avatar
    Join Date
    May 2009
    Location
    Kwaadmechelen, Belgium
    Posts
    670
    Quote Originally Posted by Roland0 View Post
    Quite sure it does:
    Code:
    $ ./lmsmusly.py  --db-path ~/tmp dynamic -h
    
    usage: lmsmusly.py dynamic [-h] --lms LMS [--lms-port LMS_PORT] --lms-player
                               LMS_PLAYER [--lms-notifications] [--read-jukebox]
                               [--numtracks NUMTRACKS]
                               [--seedtrack-index SEEDTRACK_INDEX]
                               [--no-duplicates [N]] [--webui]
                               [--webui-host WEBUI_HOST] [--webui-port WEBUI_PORT]
                               [--webui-logpath WEBUI_LOGPATH]
    
    optional arguments:
      -h, --help            show this help message and exit
      --lms LMS             LMS server name
      --lms-port LMS_PORT   LMS server port (default: 9000)
      --lms-player LMS_PLAYER
                            LMS player ID. Format: 00:00:00:00:00:00
      --lms-notifications   show notifications on player
      --read-jukebox        read on-disk jukebox on startup
      --numtracks NUMTRACKS
                            length of playlist (default: 10)
      --seedtrack-index SEEDTRACK_INDEX
                            playlist index of track to use as seed (default: 0)
      --no-duplicates [N]   Avoid repeating a track for the next N tracks
                            (default: 100)
      --webui               provide a web-based user interface
      --webui-host WEBUI_HOST
                            host name / IP address for WebUI (default: 0.0.0.0)
      --webui-port WEBUI_PORT
                            port for WebUI (default: 8080)
      --webui-logpath WEBUI_LOGPATH
                            logfile path for WebUI (default: /tmp)
    Aha, it's dependent on playlist generation I hadn't really understood it that way, sorry ...
    Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901 + Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer PDP-LX5090H
    Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
    Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
    Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel Ultima 20 Mk 2
    Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey + Topping A30 + Focal Elear
    Car: TBC ...

  6. #36
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    736

    v0.1.0 release

    V0.1.0 has been released. In addition to various smaller improvements, the main new features are options to control the similarity of the tracks to be played, an option to avoid duplicate tracks, improved web UI, and a JSON/RPC API.
    This version includes all features originally planned for the application, and seems to be quite stable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •