Skip to content
Senan Kelly edited this page Dec 15, 2023 · 3 revisions

smart playlists

use the beets smart playlists plugin https://beets.readthedocs.io/en/stable/plugins/smartplaylist.html

plugins:
  - smartplaylist

smartplaylist:                                                                                                                   
  playlist_dir: /<path to gonic playlists>/<user id>/                                                    
  playlists:                                                                     
    - name: "label chain reaction.m3u"                                           
      query: 'label:"Chain Reaction"'                                            
    - name: "label echospace.m3u"                                                
      query: "label:Echospace"                                                   
    - name: "90s detroit.m3u"                                                    
      query: "genre:detroit year:..2000 year+"                                   
    - name: "90s electronic gt 20 plays.m3u"                                     
      query: "genre:electronic ^genre:rock play_count:10.. year:..2000 play_count+"

jukebox multi room audio

can be achieved with snapcast and the subsonic jukebox mode

following https://github.com/badaix/snapcast/blob/master/doc/player_setup.md#mpv

start gonic with -jukebox-mode-mpv-extra-args "--ao=pcm --ao-pcm-file=path/to/my-pipe"

or GONIC_JUKEBOX_MODE_MPV_EXTRA_ARGS="--ao=pcm --ao-pcm-file=path/to/my-pipe"