• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Development Plugin Development BetterMix a Plugin for Better Instant Mix

     
    • 0 Vote(s) - 0 Average

    BetterMix a Plugin for Better Instant Mix

    Music shuffle generation
    StergiosBinopoulos
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Jun
    Reputation: 0
    #1
    2025-06-18, 09:38 PM
    Hi everyone,

    I've created a plugin that attempts to improve the Instant Mix functionality. It uses the Deej-AI model by teticio, to find similar sounding songs.
    It is very useful if you have a lot of unlabeled/mislabeled songs in your library since the native Instant Mix only takes into consideration the genre.
    It should also work great if you have songs that do not fall under a specific genre.

    Please give it a try. I would love to hear some feedback. BetterMix
    RatsOfLatNam
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Mar
    Reputation: 0
    #2
    2025-07-04, 09:11 AM (This post was last modified: 2025-07-04, 09:13 AM by RatsOfLatNam. Edited 1 time in total.)
    Hi, tested your plugin (with image jellyfin/jellyfin:10.10.7) but only got following log message:

    Code:
    [2025-07-01 15:17:48.841 +00:00] [INF] [113] Jellyfin.Plugin.BetterMix.BetterMixPlugin: BetterMix: GetPlaylist: "/config/plugins/Jellyfin.Plugin.BetterMix/Deej-AI/Pickles mp3tovecs --inputsong \"/media/music/Air/10 000 Hz Legend/05 Radian.m4a\" --noise 0.2 --epsilon 0.001 --lookback 3 --nsongs 200"
    [2025-07-01 15:17:49.533 +00:00] [INF] [113] Jellyfin.Plugin.BetterMix.BetterMixPlugin: BetterMix: Falling back to Native Instant Mix.

    Could this be related to the m4a input format?

    (And is there a way to increase the log level to see more details?)
    StergiosBinopoulos
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Jun
    Reputation: 0
    #3
    2025-07-04, 09:51 AM (This post was last modified: 2025-07-04, 09:55 AM by StergiosBinopoulos. Edited 1 time in total.)
    Hello, thanks for giving the plugin a try! The Scan Task is probably still running. You are most likely using version 0.2.1 or earlier and there is no way to check if the scan task is completed other than using something like:

    Code:
    sudo ls -latr /config/plugins/Jellyfin.Plugin.BetterMix/Deej-AI/Pickles 

    and checking manually if there are vector files still created. On my machine this takes around 3 seconds per track.

    Consider using version 0.3.1 instead. It uses C++ instead of python for the inference. The executable size is less than half of v0.2.1. The scan task is much faster, around 1 second per track and the playlist generation is around an order of magnitude faster, which matters if you have a large library. There is also a progress bar for the Scan Task.

       
    StergiosBinopoulos
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Jun
    Reputation: 0
    #4
    2025-07-04, 12:08 PM
    If you decide to install v0.3.1. Make sure to remove the previous version first.
    RatsOfLatNam
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Mar
    Reputation: 0
    #5
    2025-07-07, 09:53 PM
    Thanks, removed the v0.2.1 and installed the v0.3.1 version via UI.

    Now getting this log message:
    Code:
    [2025-07-07 21:47:46.366 +00:00] [INF] [32] Jellyfin.Plugin.BetterMix.BetterMixPlugin: BetterMix: Executing Deej-AI GetPlaylist with arguments: " --generate append --vec-dir /config/plugins/BetterMix_0.3.1/Jellyfin.Plugin.BetterMix/Deej-AI/audio_vecs -i \"/media/music/Aphex Twin/_..I Care Because You Do/1-03 Wax The Nip.mp3\" --noise 0.2 --lookback 10 --nsongs 200"
    [2025-07-07 21:47:46.367 +00:00] [INF] [32] Jellyfin.Plugin.BetterMix.BetterMixPlugin: BetterMix: Deej-AI GetPlaylist: "/config/plugins/BetterMix_0.3.1/Jellyfin.Plugin.BetterMix/Deej-AI/deej-ai.cpp/bin/deej-ai: error while loading shared libraries: libavformat.so.59: cannot open shared object file: No such file or directory
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode