diff --git a/README.md b/README.md index f7105b6..a8e92b4 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ - Telegram (maybe only possible to download) - Oh my zsh? - Cool neovim setup -- strawberry - fuzzy find - thunderbird config - some kind of tag setup with: bootstrap, update etc diff --git a/playbooks/all.yml b/playbooks/all.yml index 06a7de0..83c45ee 100644 --- a/playbooks/all.yml +++ b/playbooks/all.yml @@ -9,3 +9,4 @@ - virtualbox - vscodium - syncthing + - strawberry diff --git a/playbooks/strawberry.yml b/playbooks/strawberry.yml new file mode 100644 index 0000000..9b58390 --- /dev/null +++ b/playbooks/strawberry.yml @@ -0,0 +1,4 @@ +- name: Install strawberry + hosts: self + roles: + - strawberry diff --git a/roles/strawberry/files/strawberry.conf b/roles/strawberry/files/strawberry.conf new file mode 100644 index 0000000..1063cd6 --- /dev/null +++ b/roles/strawberry/files/strawberry.conf @@ -0,0 +1,396 @@ +[Analyzer] +framerate=25 +type=BlockAnalyzer + +[Appearance] +background-color=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\xff\xff\0\0) +background_image_do_not_cut=true +background_image_keep_aspect_ratio=false +background_image_max_size=0 +background_image_position=1 +background_image_stretch=true +background_image_type=3 +blur_radius=80 +foreground-color=@Variant(\0\0\0\x43\x1\xff\xff\0\0\0\0\0\0\0\0) +icon_size_configure_buttons=16 +icon_size_left_panel_buttons=22 +icon_size_play_control_buttons=32 +icon_size_playlist_buttons=20 +icon_size_tabbar_large_mode=40 +icon_size_tabbar_small_mode=32 +opacity_level=70 +playlist_playing_song_color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0) +style=Fusion +system_icons=false +tab_color=@Variant(\0\0\0\x43\x2\xff\xffOL\x87\x87\x92+\0\0) +tab_gradient=true +tab_system_color=true +use-custom-set=true + +[Backend] +AutoCrossfadeEnabled=false +CrossfadeEnabled=false +FadeoutDuration=2000 +FadeoutEnabled=false +FadeoutPauseDuration=250 +FadeoutPauseEnabled=false +NoCrossfadeSameAlbum=true +bs2b=false +bufferduration=4000 +bufferhighwatermark=0.99 +bufferlowwatermark=0.33 +channels=2 +channels_enabled=false +device=@Invalid() +engine=gstreamer +http2=false +output=autoaudiosink +rgcompression=true +rgenabled=false +rgfallbackgain=0 +rgmode=0 +rgpreamp=0 +volume_control=true + +[Behaviour] +doubleclick_addmode=1 +doubleclick_playlist_addmode=1 +doubleclick_playmode=3 +keeprunning=true +language= +menu_playmode=2 +menu_previousmode=1 +playing_widget=true +resumeplayback=false +seek_step_sec=10 +showtrayicon=true +startupbehaviour=2 +trayicon_progress=true + +[Collection] +auto_open=true +cache_size=160 +cache_size_unit=1 +cover_art_patterns=front, cover +cover_lowercase=true +cover_overwrite=false +cover_pattern=%albumartist-%album +cover_replace_spaces=true +delete_files=false +disk_cache_enable=false +disk_cache_size=360 +disk_cache_size_unit=1 +expire_unavailable_songs=60 +group_by1=1 +group_by2=4 +group_by3=0 +group_by_version=1 +io_priority=3 +last_path=/home/pim/Music +mark_songs_unavailable=true +monitor=true +overwrite_playcount=false +overwrite_rating=false +pretty_covers=true +save_cover_filename=2 +save_cover_type=3 +save_playcounts=false +save_ratings=false +separate_albums_by_grouping=false +show_dividers=true +song_tracking=true +startup_scan=true +tagreader_workers=2 +thread_priority=0 + +[Context] +AlbumEnable=true +EngineAndDeviceEnable=false +SearchCoverEnable=true +SearchLyricsEnable=true +SongLyricsEnable=true +SummaryFmt=%album% +TechnicalDataEnable=false +TitleFmt=%title% - %artist% +font_headline=Bitstream Vera Sans +font_normal=Bitstream Vera Sans +font_size_headline=11 +font_size_normal=11 + +[CoverManager] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3\xc2\0\0\0\x4\0\0\a{\0\0\x4\x92\0\0\x3\xc4\0\0\0\x6\0\0\ay\0\0\x4\x90\0\0\0\0\0\0\0\0\a\x80\0\0\x3\xc4\0\0\0\x6\0\0\ay\0\0\x4\x90) +save_cover_type=1 +splitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc8\0\0\x2\xbf\x1\xff\xff\xff\xff\x1\0\0\0\x1\0) + +[Covers] +providers=Last.fm, MusicBrainz, Deezer, Musixmatch, Spotify, Tidal, Qobuz + +[Equalizer] +enable_stereo_balancer=false +enabled=false +presets\1\name=Classical +presets\1\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\xff\xff\xff\xd8\xff\xff\xff\xd8\xff\xff\xff\xd8\xff\xff\xff\xce) +presets\10\name=Live +presets\10\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\xff\xff\xff\xe7\0\0\0\0\0\0\0\x14\0\0\0\x19\0\0\0\x1e\0\0\0\x1e\0\0\0\x14\0\0\0\xf\0\0\0\xf\0\0\0\n) +presets\11\name=Party +presets\11\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0#\0\0\0#\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0#\0\0\0#) +presets\12\name=Pop +presets\12\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\xff\xff\xff\xf6\0\0\0\x19\0\0\0#\0\0\0(\0\0\0\x19\xff\xff\xff\xfb\xff\xff\xff\xf1\xff\xff\xff\xf1\xff\xff\xff\xf6\xff\xff\xff\xf6) +presets\13\name=Reggae +presets\13\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\0\0\0\0\0\xff\xff\xff\xfb\xff\xff\xff\xe2\0\0\0\0\xff\xff\xff\xdd\xff\xff\xff\xdd\0\0\0\0\0\0\0\0\0\0\0\0) +presets\14\name=Rock +presets\14\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0(\0\0\0\x19\xff\xff\xff\xe2\xff\xff\xff\xd8\xff\xff\xff\xec\0\0\0\x14\0\0\0-\0\0\0\x37\0\0\0\x37\0\0\0\x37) +presets\15\name=Ska +presets\15\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\xff\xff\xff\xf1\xff\xff\xff\xe7\xff\xff\xff\xe7\xff\xff\xff\xfb\0\0\0\x14\0\0\0\x1e\0\0\0-\0\0\0\x32\0\0\0\x37\0\0\0\x32) +presets\16\name=Soft +presets\16\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x19\0\0\0\n\xff\xff\xff\xfb\xff\xff\xff\xf1\xff\xff\xff\xfb\0\0\0\x14\0\0\0-\0\0\0\x32\0\0\0\x37\0\0\0<) +presets\17\name=Soft Rock +presets\17\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x14\0\0\0\x14\0\0\0\n\xff\xff\xff\xfb\xff\xff\xff\xe7\xff\xff\xff\xe2\xff\xff\xff\xec\xff\xff\xff\xfb\0\0\0\xf\0\0\0-) +presets\18\name=Techno +presets\18\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0(\0\0\0\x1e\0\0\0\0\xff\xff\xff\xe2\xff\xff\xff\xe7\0\0\0\0\0\0\0(\0\0\0\x32\0\0\0\x32\0\0\0-) +presets\19\name=Zero +presets\19\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0) +presets\2\name=Club +presets\2\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x14\0\0\0\x1e\0\0\0\x1e\0\0\0\x1e\0\0\0\x14\0\0\0\0\0\0\0\0\0\0\0\0) +presets\3\name=Custom +presets\3\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0) +presets\4\name=Dance +presets\4\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x32\0\0\0#\0\0\0\n\0\0\0\0\0\0\0\0\xff\xff\xff\xe2\xff\xff\xff\xd8\xff\xff\xff\xd8\0\0\0\0\0\0\0\0) +presets\5\name=Full Bass +presets\5\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x46\0\0\0\x46\0\0\0\x46\0\0\0(\0\0\0\x14\xff\xff\xff\xd3\xff\xff\xff\xce\xff\xff\xff\xc9\xff\xff\xff\xc9\xff\xff\xff\xc9) +presets\6\name=Full Bass + Treble +presets\6\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0#\0\0\0\x1e\0\0\0\0\xff\xff\xff\xd8\xff\xff\xff\xe7\0\0\0\n\0\0\0-\0\0\0\x37\0\0\0<\0\0\0<) +presets\7\name=Full Treble +presets\7\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\xff\xff\xff\xce\xff\xff\xff\xce\xff\xff\xff\xce\xff\xff\xff\xe7\0\0\0\xf\0\0\0\x37\0\0\0P\0\0\0P\0\0\0P\0\0\0U) +presets\8\name=Laptop/Headphones +presets\8\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x19\0\0\0\x32\0\0\0\x19\xff\xff\xff\xec\0\0\0\0\xff\xff\xff\xe2\xff\xff\xff\xd8\xff\xff\xff\xd8\0\0\0\0\0\0\0\0) +presets\9\name=Large Hall +presets\9\params=@Variant(\0\0\0\x7f\0\0\0\x12\x45qualizer::Params\0\0\0\0\0\0\0\0\x32\0\0\0\x32\0\0\0\x1e\0\0\0\x1e\0\0\0\0\xff\xff\xff\xe7\xff\xff\xff\xe7\xff\xff\xff\xe7\0\0\0\0\0\0\0\0) +presets\size=19 +selected_preset=Custom +stereo_balance=0 + +[GlobalShortcuts] +dec_volume= +inc_volume= +love= +mute= +next_track=Media Next +pause= +play= +play_pause=Media Play +prev_track=Media Previous +repeat_mode= +seek_backward= +seek_forward= +show_hide= +show_osd= +shuffle_mode= +stop=Media Stop +stop_after= +toggle_pretty_osd= +toggle_scrobbling= +use_gnome=true +use_kde=false +use_mate=false +use_x11=false + +[LastFM] +enabled=false +https=false + +[LibreFM] +enabled=false + +[ListenBrainz] +enabled=false +user_token= + +[Lyrics] +providers=AudD, Genius, Lyrics.ovh, LoloLyrics, Musixmatch + +[MainWindow] +current_tab=1 +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\a\x7f\0\0\x4\x96\0\0\0\0\0\0\0\x14\0\0\x4j\0\0\x2\xc0\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\a\x7f\0\0\x4\x96) +hidden=false +maximized=true +minimized=false +search_for_cover_auto=true +show_sidebar=true +splitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1p\0\0\x4W\0\xff\xff\xff\xff\x1\0\0\0\x1\0) +tab_collection=1 +tab_context=0 +tab_devices=7 +tab_files=5 +tab_mode=1 +tab_playlists=3 +tab_queue=2 +tab_radios=6 +tab_smartplaylists=4 + +[Moodbar] +enabled=false +save=false +show=false +style=0 + +[NetworkProxy] +engine=true +hostname= +mode=0 +password= +port=0 +type=3 +use_authentication=false +username= + +[OSD] +Behaviour=3 +CustomText1=%title% +CustomText2=%artist% - %album% +CustomTextEnabled=true +ShowArt=true +ShowOnPausePlayback=true +ShowOnPlayModeChange=true +ShowOnResumePlayback=false +ShowOnVolumeChange=false +Timeout=5000 + +[OSDPretty] +background_color=4291434000 +background_opacity=0.8700000047683716 +disable_duration=false +fading=true +font="Bitstream Vera Sans,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1" +foreground_color=4278190080 +popup_pos=@Point(1524 0) +popup_screen=DP-1 + +[Player] +playback_playlist=1 +playback_position=219 +playback_state=3 +volume=32 + +[Playlist] +alternating_row_colors=true +auto_sort=false +column_alignments=@Variant(\0\0\0\x7f\0\0\0\x13\x43olumnAlignmentMap\0\0\0\0\v\0\0\0\x6\0\0\0\x82\0\0\0\a\0\0\0\x82\0\0\0\b\0\0\0\x82\0\0\0\t\0\0\0\x82\0\0\0\n\0\0\0\x82\0\0\0\f\0\0\0\x82\0\0\0\r\0\0\0\x82\0\0\0\xe\0\0\0\x82\0\0\0\x11\0\0\0\x82\0\0\0\x15\0\0\0\x82\0\0\0\x16\0\0\0\x82) +continue_on_error=true +delete_files=false +editmetadatainline=false +glow_effect=true +greyout_songs_play=true +greyout_songs_startup=true +path_type=0 +playlist_clear=true +rating_locked=false +select_track=true +show_bars=true +show_toolbar=true +state="@ByteArray(P,\x95\xf\x1\0\0\0\x1e\0\0\x2\x1\0\0\x1\xc2\0\0\x1R\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x41\0\0\0\0\0\0\0\x45\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1e\0\0\0\b\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\x4\0\0\0\x5\0\0\0\x6\0\0\0\a\0\0\0\t\0\0\0\n\0\0\0\v\0\0\0\f\0\0\0\r\0\0\0\xe\0\0\0\xf\0\0\0\x10\0\0\0\x11\0\0\0\x12\0\0\0\x13\0\0\0\x14\0\0\0\x15\0\0\0\x16\0\0\0\x17\0\0\0\x18\0\0\0\x19\0\0\0\x1a\0\0\0\x1b\0\0\0\x1c\0\0\0\x1d\0\0\0\x1e?\xd6\xe1\x8a|/\xea\x13?\xd4\xe\x98\x66\xb0\x6\xa6?\xce\x1e\x88\xae\xb2\x45\xd5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\xa7S\xde\x3\xc1)j\0\0\0\0\0\0\0\0?\xa8\xb0\xe8*v9\x8a\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\b)" +state_version=1 +warn_close_playlist=true +write_metadata=false + +[PlaylistSequence] +repeat_mode=0 +shuffle_mode=0 + +[Qobuz] +albums_group_by1=1 +albums_group_by2=4 +albums_group_by3=0 +albums_group_by_version=1 +albums_separate_albums_by_grouping=false +artists_group_by1=1 +artists_group_by2=4 +artists_group_by3=0 +artists_group_by_version=1 +artists_separate_albums_by_grouping=false +search_group_by1=1 +search_group_by2=4 +search_group_by3=0 +search_group_by_version=1 +songs_group_by1=1 +songs_group_by2=4 +songs_group_by3=0 +songs_group_by_version=1 +songs_separate_albums_by_grouping=false +tab=artists + +[Scrobbler] +albumartist=false +enabled=false +love_button=false +offline=false +scrobble_button=false +show_error_dialog=true +sources=collection, file, cd, device, subsonic, tidal, qobuz, stream, somafm, radioparadise, unknown +submit=0 + +[SerializedSmartPlaylists] +songs\1\data=@ByteArray(\0\0\0\0\x2\x11\0\0\0\x14\x2\0) +songs\1\name=Newest tracks +songs\1\type=1 +songs\10\data=@ByteArray(\0\0\0\0\0\x3\0\0\0\x14\x2\x1) +songs\10\name=Dynamic random mix +songs\10\type=1 +songs\2\data=@ByteArray(\0\0\0\0\0\x3\0\0\0\x32\x2\0) +songs\2\name=50 random tracks +songs\2\type=1 +songs\3\data=@ByteArray(\0\0\0\x1\x13\x4\0\0\0\x2\0\0\0\0\0\0\0\0\0\x1\0\0\x3\0\0\0\x14\0\0) +songs\3\name=Ever played +songs\3\type=1 +songs\4\data=@ByteArray(\0\0\0\x1\x13\x6\0\0\0\x2\0\0\0\0\0\0\0\0\0\x1\0\0\x3\0\0\0\x14\0\0) +songs\4\name=Never played +songs\4\type=1 +songs\5\data=@ByteArray(\0\0\0\0\x2\x15\0\0\0\x14\x2\0) +songs\5\name=Last played +songs\5\type=1 +songs\6\data=@ByteArray(\0\0\0\0\x2\x13\0\0\0\x14\x2\0) +songs\6\name=Most played +songs\6\type=1 +songs\7\data=@ByteArray(\0\0\0\0\x2\x16\0\0\0\x14\x2\0) +songs\7\name=Favourite tracks +songs\7\type=1 +songs\8\data=@ByteArray(\0\0\0\x2\x16\x5\0\0\0\x6\0?\xe0\0\0\0\0\0\0\0\0\0\0\x1\0\x14\x4\0\0\0\x2\0\0\0\0\x4\0\0\0\0\x1\0\x2\x14\0\0\0\x14\x1\0) +songs\8\name=Least favourite tracks +songs\8\type=1 +songs\9\data=@ByteArray(\0\0\0\0\x1\x1\xff\xff\xff\xff\x2\0) +songs\9\name=All tracks +songs\9\type=1 +songs\size=10 +songs_version=3 + +[SettingsDialog] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\xb0\0\0\0\xd9\0\0\x5\xd2\0\0\x3\xda\0\0\x1\xb1\0\0\0\xda\0\0\x5\xd1\0\0\x3\xd9\0\0\0\0\0\0\0\0\a\x80\0\0\x1\xb1\0\0\0\xda\0\0\x5\xd1\0\0\x3\xd9) + +[Subsonic] +group_by1=1 +group_by2=4 +group_by3=0 +group_by_version=1 +separate_albums_by_grouping=false + +[Tidal] +albums_group_by1=1 +albums_group_by2=4 +albums_group_by3=0 +albums_group_by_version=1 +albums_separate_albums_by_grouping=false +artists_group_by1=1 +artists_group_by2=4 +artists_group_by3=0 +artists_group_by_version=1 +artists_separate_albums_by_grouping=false +search_group_by1=1 +search_group_by2=4 +search_group_by3=0 +search_group_by_version=1 +songs_group_by1=1 +songs_group_by2=4 +songs_group_by3=0 +songs_group_by_version=1 +songs_separate_albums_by_grouping=false +tab=artists diff --git a/roles/strawberry/meta/main.yml b/roles/strawberry/meta/main.yml new file mode 100644 index 0000000..9711b33 --- /dev/null +++ b/roles/strawberry/meta/main.yml @@ -0,0 +1,2 @@ +dependencies: + - role: common diff --git a/roles/strawberry/tasks/main.yml b/roles/strawberry/tasks/main.yml new file mode 100644 index 0000000..11ad85b --- /dev/null +++ b/roles/strawberry/tasks/main.yml @@ -0,0 +1,29 @@ +- name: Download PPA signing key + become: true + apt_key: + keyserver: keyserver.ubuntu.com + id: BE5ED0F9261CAAD9A1E5B1A4CD6289E999EA819D + keyring: /etc/apt/keyrings/strawberry.gpg +- name: Install PPA repository + become: true + apt_repository: + repo: "deb [signed-by=/etc/apt/keyrings/strawberry.gpg] https://ppa.launchpadcontent.net/jonaski/strawberry/ubuntu {{ ansible_distribution_release }} main" + register: apt_repository +- name: Update APT cache + become: true + apt: + update_cache: true + when: apt_repository.changed +- name: Install Strawberry + become: true + apt: + name: strawberry +- name: Create configuration directory + file: + path: ~/.config/strawberry + recurse: true + state: directory +- name: Copy configuration file + copy: + src: "{{ role_path }}/files/strawberry.conf" + dest: ~/.config/strawberry/strawberry.conf