Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
################################# # Pi MusicBox / Mopidy Settings # ################################# # # Edit the settings of your MusicBox and the Mopidy music server here # This is a file read by both the MusicBox startup-scripts and Mopidy. # For more info on the settings of Mopidy: http://docs.mopidy.com/en/latest/config/ # or the particular extenion's GitHub page # # Every line starting with a # is a comment, it does not do anything until you remove the # # -------------------- # | Network Settings | # -------------------- [network] # Settings for your WiFi network, if you use a (supported) wifi-dongle # Only supports WPA security, no WEP or access points without security (dive into the command line for that!) wifi_network = SavkaNET wifi_password = 6183199959 # Set the name of the MusicBox. # In this way you can identify and access different devices on the same network e.g. across different rooms. # A MusicBox device named kitchen would be accessible from a web browser at http://kitchen.local/, from an MPD # client at kitchen.local and advertised as kitchen on AirTunes. # The name is restricted to a maximum of 9 alphanumeric characters (no spaces, dots, etc). # You can even have different devices with different Spotify accounts when needed. name = MusicBox # Mount Windows Network Drive on boot (via samba/cifs) # The address is exactly how Samba mount works: //servername/mountpoint/directory # e.g. //192.168.1.5/musicmount or //server.local/shared/music # if the mount needs a username/password, also set it (leave empty for guest-access) # Don't forget to let Mopidy/MusicBox scan the contents at first boot (see below) mount_address = mount_user = mount_password = # Here you can change the default workgroup of the Windows network. # This will set the workgroup to the name you want workgroup = WORKGROUP # Enable this to allow remote login via SSH on MusicBox enable_ssh = false # By default, MusicBox waits for the network to come up, since there is not much to do without a network. # If you want to skip this, e.g. for testing purposes, uncomment this line wait_for_network = true # ----------- # | Spotify | # ----------- # https://github.com/mopidy/mopidy-spotify [spotify] # Supply your PREMIUM account credentials to enable Spotify enabled = false username = password = # The bitrate, the quality of the music played by Spotify, can be set to 96, 160 (default) or 320 bitrate = 320 cache_dir = "" # ----------- # | Last.fm | # ----------- # https://github.com/mopidy/mopidy-scrobbler # Supply your credentials to scrobble tracks to Last.fm [scrobbler] enabled = false username = password = # -------------- # | SoundCloud | # -------------- # https://github.com/mopidy/mopidy-soundcloud # Supply your auth_token obtained from http://www.mopidy.com/authenticate [soundcloud] enabled = false auth_token = # ---------------- # | Google Music | # ---------------- # https://github.com/hechtus/mopidy-gmusic # Supply your credentials to enable Google Music # NOTE: If enabled this may slow down the start of MusicBox. Please be patient [gmusic] enabled = false all_access = true username = password = deviceid = # ----------- # | YouTube | # ----------- # https://github.com/dz0ny/mopidy-youtube # Play music from Youtube [youtube] enabled = true # ---------- # | Dirble | # ---------- # https://github.com/mopidy/mopidy-dirble # Play radio stations from Dirble [dirble] enabled = true api_key = 473279e3fa0e7010cbbbb40ecc31890d46e57a2e countries = US, NL, DE, NO, SE # ------------ # | Subsonic | # ------------ # https://github.com/rattboi/mopidy-subsonic # Stream music from your Subsonic Music Streamer [subsonic] enabled = false hostname = port = username = password = ssl = # ---------------- # | TuneIn Radio | # ---------------- # https://github.com/kingosticks/mopidy-tunein # Play radio stations from TuneIn [tunein] enabled = true # ------------------------ # | The Internet Archive | # ------------------------ # http://mopidy-internetarchive.readthedocs.org/en/latest/config.html # Listen to sounds and music from the Internet Archive [internetarchive] enabled = false # ----------- # | Soma FM | # ----------- # https://github.com/AlexandrePTJ/mopidy-somafm # Play radio stations from Soma FM [somafm] enabled = false encoding = mp3 quality = fast # ----------- # | Podcast | # ----------- # https://github.com/tkem/mopidy-podcast # Play podcasts from different sources [podcast] # Note: You cannot add settings for [podcast-itunes] or [podcast-gpodder] # because it breaks the startup script (won't read dashes in section names enabled = true feeds = # --------------- # | AudioAddict | # --------------- # https://github.com/nilicule/mopidy-audioaddict # Play music from all the AudioAddict network of sites (login optional) [audioaddict] enabled = false # --------------------- # | MusicBox Settings | # --------------------- [musicbox] # To secure your device, change the default password to something else. # For security, the value in this file will be automatically cleaned out when the password is set in MusicBox root_password = # Automatically resize the filesystem and use all available space on your SD card. # Use at your own risk, you could lose data on your card. # (If so, you can put the original MusicBox image on it again and start over) resize_once = false # Scan on startup for new music files on the SD card or the network shares (could take a while!). # Local files work ok for moderate size collections. Large music database sizes could cause problems. # IMPORTANT: if you enable scan_always this will scan on every boot. # If your music doesn't change or you only stream music set scan_once instead. #scan_once = true scan_always = true # MusicBox can automatically start playing a stream/song after startup. # It will wait a number of seconds before trying to do so for the system to first become ready. # The wait required varies per device, network and configuration so if it doesn't work then increase the time. # e.g. autoplay = http://nprdmp.ic.llnwd.net/stream/nprdmp_live01_mp3 or local:track:MusicBox/Music%20File.mp3 (on the SD Card) autoplay = autoplaywait = 60 # ------------- # | Streaming | # ------------- # Set these options to enable streaming to Pi MusicBox # AirTunes (using Shairport-sync): enable_shairport = # DLNA/uPnP/OpenHome (using upmpdcli): enable_upnp = # ------------------ # | Audio Settings | # ------------------ # Because of limitations with some USB-DACs, MusicBox downsamples USB sound to 44k by default. Set to false to disable. downsample_usb = true # Set default audio output. This overrides the automatic detection (which sets to usb audio if an usb audio device # is found, else to hdmi (if hdmi is connected at boot), and otherwise just to the analog out). # i2s cards (e.g. HifiBerry etc) are not detected automatically and must be explicitly set here. # Options: analog, hdmi, usb, hifiberry_dac, hifiberry_digi, hifiberry_dacplus, hifiberry_amp, iqaudio_dac output = [audio] # Set the startup volume of MusicBox # Values: from 0 to 100 mixer_volume = 85 # -------------------------------------------------------------------------- # | OTHER Settings | # | You probably don't want to edit the settings below this line. Really. | # | Unless you know what you're doing, or you want to change the webclient | # -------------------------------------------------------------------------- # This sets the gstreamer buffer. It's a bit tricky... # If you have problems with stuttering sound, try other values here, like: # or #output = alsasink buffer-time=300000 latency-time=20000 #output = alsasink buffer-time=200000 latency-time=10000 output = alsasink mixer = software # Optionally, you can use alsamixer. This enables you to use hardware mixers of usb/audiocards. # Set the previous setting to: #mixer = alsamixer # And set the card and contol below. E.g. #card = 1 #control = Master # Run the command 'amixer scontrols' from the commandline to list available controls on your system # See https://github.com/mopidy/mopidy-alsamixer [alsamixer] card = control = [stream] enabled = true [http] enabled = true hostname = 0.0.0.0 port = 6680 #Disable zeroconf zeroconf = "" # ------------- # | Webclient | # ------------- # Here you can change the default webclient # options: /opt/webclient /opt/moped static_dir = /opt/webclient [musicbox_webclient] enabled = true musicbox = true [websettings] enabled = true musicbox = true config_file = /boot/config/settings.ini [mpd] hostname = 0.0.0.0 [logging] config_file = /etc/mopidy/logging.conf debug_file = /var/log/mopidy/mopidy-debug.log [local] enabled = true media_dir = /music playlists_dir = /var/lib/mopidy/playlists data_dir = /var/lib/mopidy/localdata #This sets the method of indexing local files #You can set it to json or whoosh. Whoosh might be better with large collections, JSON is a bit more mature. # TODO: You cannot add settings for [local-sqlite] # because it breaks the startup script (won't read dashes in section names library = sqlite scan_timeout = 1000 scan_flush_threshold = 1000 excluded_file_extensions = .html, .jpeg, .jpg, .log, .nfo, .png, .txt, .mkv, .avi, .divx, .qt, .wmv, .htm, .zip, .rar, .gz, .pdf, .exe, .ini, .mid, .db, .m3u, .sfv, .midi
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
Crypto admin access
39 min ago | 0.43 KB
+12,000$ in 2 days
CSS | 39 min ago | 0.72 KB
Free Crypto Method
CSS | 40 min ago | 0.72 KB
Documents
40 min ago | 0.43 KB
Untitled
20 hours ago | 0.68 KB
The Road Not Taken
1 day ago | 0.79 KB
OG OLDHAM CODE
3 days ago | 27.75 KB
remove current bid and bid now button from au...
PHP | 4 days ago | 0.80 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!