Browse Source

jukebox prefs & albumart are created later, so preserved when code is updated

pull/1/head
qo-op 1 year ago
parent
commit
2390e1d4c9
  1. 5
      install.sh
  2. 1
      www/jukebox/albumart/.empty
  3. 1
      www/jukebox/prefs/.empty
  4. BIN
      www/jukebox/prefs/collection.sq3
  5. 1
      www/jukebox/prefs/prefs.var

5
install.sh

@ -48,6 +48,11 @@ sudo fail2ban restart
### Install jukebox & astrxbian & NGINX config
sudo rm -f /var/www/jukebox
sudo cp -Rf /home/xbian/.zen/astrXbian/www/jukebox /var/www/jukebox
sudo mkdir -p /var/www/jukebox/albumart
sudo chmod 777 /var/www/jukebox/albumart
sudo mkdir -p /var/www/jukebox/prefs
sudo chmod 777 /var/www/jukebox/prefs
sudo chown -R xbian:xbian /var/www/jukebox
sudo cp -f /home/xbian/.zen/astrXbian/.install/templates/nginx/jukebox.conf /etc/nginx/conf.d/
sudo rm -f /var/www/astrxbian

1
www/jukebox/albumart/.empty

@ -1 +0,0 @@

1
www/jukebox/prefs/.empty

@ -1 +0,0 @@

BIN
www/jukebox/prefs/collection.sq3

Binary file not shown.

1
www/jukebox/prefs/prefs.var

@ -1 +0,0 @@
a:135:{s:24:"music_directory_albumart";s:0:"";s:10:"mysql_host";s:9:"localhost";s:14:"mysql_database";s:7:"romprdb";s:10:"mysql_user";s:5:"rompr";s:14:"mysql_password";s:11:"romprdbpass";s:10:"mysql_port";s:4:"3306";s:10:"proxy_host";s:0:"";s:10:"proxy_user";s:0:"";s:14:"proxy_password";s:0:"";s:14:"sortbycomposer";b:0;s:13:"composergenre";b:0;s:17:"composergenrename";a:1:{i:0;s:9:"Classical";}s:16:"preferlocalfiles";b:0;s:25:"mopidy_collection_folders";a:3:{i:0;s:17:"Spotify Playlists";i:1;s:11:"Local media";i:2;s:16:"SoundCloud/Liked";}s:19:"lastfm_country_code";s:2:"FR";s:15:"country_userset";b:1;s:13:"debug_enabled";i:0;s:14:"custom_logfile";s:0:"";s:16:"cleanalbumimages";b:1;s:17:"do_not_show_prefs";b:0;s:24:"load_plugins_at_loadtime";b:0;s:21:"beets_server_location";s:0:"";s:10:"multihosts";O:8:"stdClass":1:{s:7:"Default";O:8:"stdClass":6:{s:4:"host";s:9:"localhost";s:4:"port";s:4:"6600";s:8:"password";s:0:"";s:6:"socket";s:0:"";s:12:"mopidy_slave";b:0;s:11:"radioparams";O:8:"stdClass":4:{s:9:"radiomode";s:0:"";s:10:"radioparam";s:0:"";s:11:"radiomaster";i:1591222417175;s:12:"radioconsume";i:0;}}}s:8:"dev_mode";b:0;s:9:"live_mode";b:0;s:23:"collection_load_timeout";i:3600000;s:20:"smartradio_chunksize";i:5;s:19:"linkchecker_nextrun";i:1591227742159;s:21:"linkchecker_isrunning";b:0;s:21:"linkchecker_frequency";i:604800000;s:20:"linkchecker_polltime";i:5000;s:19:"audiobook_directory";s:0:"";s:17:"collection_player";s:3:"mpd";s:15:"snapcast_server";s:0:"";s:13:"snapcast_port";s:4:"1705";s:15:"displaycomposer";b:1;s:14:"artistsatstart";a:2:{i:0;s:15:"Various Artists";i:1;s:11:"Soundtracks";}s:14:"nosortprefixes";a:1:{i:0;s:3:"The";}s:16:"sortcollectionby";s:5:"album";s:17:"showartistbanners";b:1;s:14:"google_api_key";s:0:"";s:23:"google_search_engine_id";s:0:"";s:22:"sync_lastfm_playcounts";b:0;s:20:"sync_lastfm_at_start";b:0;s:20:"last_lastfm_synctime";i:1590013582;s:25:"lfm_importer_start_offset";i:0;s:24:"lfm_importer_last_import";i:0;s:10:"sortbydate";b:0;s:11:"notvabydate";b:0;s:11:"currenthost";s:7:"Default";s:14:"player_backend";s:3:"mpd";s:15:"collectionrange";s:1:"0";s:11:"lastfm_user";s:0:"";s:18:"lastfm_session_key";s:32:"HqptvjXTmUbiGBX2qHcZ9-Pe0bTNZ1Pn";s:11:"autotagname";s:0:"";s:10:"tradsearch";b:0;s:17:"lastfm_scrobbling";b:0;s:18:"lastfm_autocorrect";b:0;s:13:"sourceshidden";b:0;s:14:"playlisthidden";b:0;s:10:"infosource";s:6:"lastfm";s:23:"playlistcontrolsvisible";b:0;s:19:"sourceswidthpercent";i:25;s:20:"playlistwidthpercent";i:25;s:11:"downloadart";b:1;s:9:"clickmode";s:6:"double";s:7:"chooser";s:9:"albumlist";s:14:"hide_albumlist";b:0;s:13:"hide_filelist";b:0;s:14:"hide_radiolist";b:0;s:17:"hide_podcastslist";b:0;s:18:"hide_playlistslist";b:0;s:18:"hide_audiobooklist";b:0;s:13:"hide_searcher";b:0;s:11:"hidebrowser";b:0;s:17:"shownupdatewindow";s:0:"";s:15:"scrolltocurrent";b:0;s:14:"alarm_ramptime";i:30;s:16:"alarm_snoozetime";i:8;s:10:"lastfmlang";s:7:"default";s:9:"user_lang";s:2:"en";s:8:"synctags";b:0;s:8:"synclove";b:0;s:13:"synclovevalue";s:1:"5";s:5:"theme";s:10:"fruit-soda";s:9:"icontheme";s:11:"Modern-Dark";s:9:"coversize";s:12:"40-Large.css";s:8:"fontsize";s:13:"04-Grande.css";s:10:"fontfamily";s:10:"Nunito.css";s:25:"collectioncontrolsvisible";b:0;s:16:"displayresultsas";s:10:"collection";s:18:"crossfade_duration";i:5;s:15:"newradiocountry";s:12:"countries/GB";s:24:"search_limit_limitsearch";b:0;s:15:"scrobblepercent";i:50;s:15:"updateeverytime";b:0;s:16:"fullbiobydefault";b:1;s:21:"mopidy_search_domains";a:2:{i:0;s:5:"local";i:1;s:7:"spotify";}s:20:"mopidy_radio_domains";a:2:{i:0;s:5:"local";i:1;s:7:"spotify";}s:14:"outputsvisible";b:0;s:16:"wheelscrollspeed";s:3:"150";s:20:"searchcollectiononly";b:0;s:20:"displayremainingtime";b:1;s:12:"cdplayermode";b:0;s:21:"auto_discovembobulate";b:0;s:13:"ratman_sortby";s:6:"Rating";s:18:"ratman_showletters";b:0;s:9:"sleeptime";i:30;s:7:"sleepon";b:0;s:20:"advanced_search_open";b:0;s:14:"sortwishlistby";s:6:"artist";s:18:"player_in_titlebar";b:0;s:21:"communityradiocountry";s:14:"united kingdom";s:22:"communityradiolanguage";s:0:"";s:17:"communityradiotag";s:0:"";s:20:"communityradiolistby";s:7:"country";s:21:"communityradioorderby";s:4:"name";s:10:"browser_id";N;s:13:"playlistswipe";b:1;s:22:"podcastcontrolsvisible";b:1;s:28:"default_podcast_display_mode";i:0;s:28:"default_podcast_refresh_mode";i:4;s:25:"default_podcast_sort_mode";i:0;s:30:"podcast_mark_new_as_unlistened";b:0;s:24:"use_albumart_in_playlist";b:1;s:19:"podcast_sort_levels";i:4;s:14:"podcast_sort_0";s:5:"Title";s:14:"podcast_sort_1";s:6:"Artist";s:14:"podcast_sort_2";s:8:"Category";s:14:"podcast_sort_3";s:3:"new";s:10:"bgimgparms";O:8:"stdClass":1:{s:5:"dummy";s:4:"baby";}s:6:"alarms";a:0:{}s:15:"collection_type";s:6:"sqlite";s:10:"test_width";i:1600;s:11:"test_height";i:761;}
Loading…
Cancel
Save