Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
498
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 16.02 KB | None | 0 0
  1. root@raspberrypi:/home/pi# service mopidy restart
  2.  
  3.  
  4. root@raspberrypi:/home/pi# mopidyctl config
  5. Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config" as user mopidy
  6. [core]
  7. cache_dir = $XDG_CACHE_DIR/mopidy
  8. config_dir = $XDG_CONFIG_DIR/mopidy
  9. data_dir = $XDG_DATA_DIR/mopidy
  10. max_tracklist_length = 10000
  11.  
  12. [logging]
  13. color = true
  14. console_format = %(levelname)-8s %(message)s
  15. debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n  %(message)s
  16. debug_file = /var/log/mopidy/mopidy.log
  17. config_file = /etc/mopidy/logging.conf
  18.  
  19. [audio]
  20. mixer = software
  21. mixer_volume =
  22. output = autoaudiosink
  23. buffer_time = 5000
  24.  
  25. [proxy]
  26. scheme =
  27. hostname =
  28. port =
  29. username =
  30. password =
  31.  
  32. [gmusic]
  33. enabled = false  ; Extension disabled by self check.
  34.  
  35. [mpd]
  36. enabled = true
  37. hostname = 0.0.0.0
  38. port = 6600
  39. password =
  40. max_connections = 20
  41. connection_timeout = 60
  42. zeroconf = Mopidy MPD server on $hostname
  43. command_blacklist =
  44.   listall
  45.   listallinfo
  46. default_playlist_scheme = m3u
  47.  
  48. [http]
  49. enabled = true
  50. hostname = 0.0.0.0
  51. port = 6680
  52. static_dir =
  53. zeroconf = Mopidy HTTP server on $hostname
  54.  
  55. [stream]
  56. enabled = false  ; Extension disabled by user config.
  57.  
  58. [m3u]
  59. enabled = true
  60. base_dir =
  61. default_encoding = latin-1
  62. default_extension = .m3u8
  63. playlists_dir =
  64.  
  65. [softwaremixer]
  66. enabled = true
  67.  
  68. [file]
  69. enabled = true
  70. media_dirs =
  71.   $XDG_MUSIC_DIR|Music
  72.   ~/|Home
  73.   /src/samba/media|Samba
  74. show_dotfiles = false
  75. follow_symlinks = false
  76. metadata_timeout = 1000
  77.  
  78. [local]
  79. enabled = true
  80. library = json
  81. media_dir = /srv/samba/media
  82. scan_timeout = 1000
  83. scan_flush_threshold = 100
  84. scan_follow_symlinks = false
  85. excluded_file_extensions =
  86.   .directory
  87.   .html
  88.   .jpeg
  89.   .jpg
  90.   .log
  91.   .nfo
  92.   .png
  93.   .txt
  94.  
  95. [spotify]
  96. enabled = false  ; Extension disabled by user config.
  97.  
  98. [spotify_tunigo]
  99. enabled = false  ; Extension disabled by user config.
  100.  
  101. [tunein]
  102. enabled = false  ; Extension disabled by user config.
  103.  
  104. [dleyna]
  105. enabled = false  ; Extension disabled by user config.
  106.  
  107.  
  108. root@raspberrypi:/home/pi# mopidyctl deps
  109. Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps" as user mopidy
  110. Executable: /usr/bin/mopidy
  111. Platform: Linux-4.4.21-v7+-armv7l-with-debian-8.0
  112. Python: CPython 2.7.9 from /usr/lib/python2.7
  113. Mopidy: 2.0.1 from /usr/lib/python2.7/dist-packages
  114.   Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  115.   requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  116.   tornado>=2.3: 3.2.2 from /usr/lib/python2.7/dist-packages
  117. Mopidy-GMusic: 1.0.0 from /usr/local/lib/python2.7/dist-packages
  118.   setuptools: 5.5.1 from /usr/lib/python2.7/dist-packages
  119.   gmusicapi>=6.0: 10.0.1 from /usr/local/lib/python2.7/dist-packages
  120.     validictory>=0.8.0,!=0.9.2: 1.1.0 from /usr/local/lib/python2.7/dist-packages
  121.     decorator>=3.3.1: 4.0.10 from /usr/local/lib/python2.7/dist-packages
  122.     mutagen>=1.18: 1.34.1 from /usr/local/lib/python2.7/dist-packages
  123.     requests>=1.1.0,!=1.2.0,!=2.2.1,!=2.8.0,!=2.8.1: 2.4.3 from /usr/lib/python2.7/dist-packages
  124.     python-dateutil>=1.3,!=2.0: 2.5.3 from /usr/local/lib/python2.7/dist-packages
  125.       six>=1.5: 1.10.0 from /usr/local/lib/python2.7/dist-packages
  126.     proboscis>=1.2.5.1: 1.2.6.0 from /usr/local/lib/python2.7/dist-packages
  127.     oauth2client>=1.1: 4.0.0 from /usr/local/lib/python2.7/dist-packages
  128.       httplib2>=0.9.1: 0.9.2 from /usr/local/lib/python2.7/dist-packages
  129.       pyasn1>=0.1.7: 0.1.7 from /usr/lib/python2.7/dist-packages
  130.       six>=1.6.1: 1.10.0 from /usr/local/lib/python2.7/dist-packages
  131.       rsa>=3.1.4: 3.4.2 from /usr/local/lib/python2.7/dist-packages
  132.         pyasn1>=0.1.3: 0.1.7 from /usr/lib/python2.7/dist-packages
  133.       pyasn1-modules>=0.0.5: 0.0.8 from /usr/local/lib/python2.7/dist-packages
  134.         pyasn1>=0.1.8: not found
  135.     mock>=0.7.0: 2.0.0 from /usr/local/lib/python2.7/dist-packages
  136.       six>=1.9: 1.10.0 from /usr/local/lib/python2.7/dist-packages
  137.       funcsigs>=1: 1.0.2 from /usr/local/lib/python2.7/dist-packages
  138.       pbr>=0.11: 1.10.0 from /usr/local/lib/python2.7/dist-packages
  139.     appdirs>=1.1.0: 1.4.0 from /usr/local/lib/python2.7/dist-packages
  140.     gpsoauth>=0.2.0: 0.4.0 from /usr/local/lib/python2.7/dist-packages
  141.       pycryptodomex>=3.0: 3.4.3 from /usr/local/lib/python2.7/dist-packages
  142.       requests: 2.4.3 from /usr/lib/python2.7/dist-packages
  143.     MechanicalSoup>=0.4.0: 0.6.0 from /usr/local/lib/python2.7/dist-packages
  144.       beautifulsoup4: 4.5.1 from /usr/local/lib/python2.7/dist-packages
  145.       six>=1.4: 1.10.0 from /usr/local/lib/python2.7/dist-packages
  146.       requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  147.     pyopenssl: 0.13.1 from /usr/lib/python2.7/dist-packages
  148.     ndg-httpsclient: 0.3.2 from /usr/lib/pymodules/python2.7
  149.       PyOpenSSL: 0.13.1 from /usr/lib/python2.7/dist-packages
  150.     pyasn1: 0.1.7 from /usr/lib/python2.7/dist-packages
  151.     six>=1.9.0: 1.10.0 from /usr/local/lib/python2.7/dist-packages
  152.     future: 0.15.2 from /usr/local/lib/python2.7/dist-packages
  153.     protobuf>=2.6.1,<=3.0.0b2: 3.0.0b2 from /usr/local/lib/python2.7/dist-packages
  154.       six>=1.9: 1.10.0 from /usr/local/lib/python2.7/dist-packages
  155.       setuptools: 5.5.1 from /usr/lib/python2.7/dist-packages
  156.   Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  157.   Mopidy>=1.0: 2.0.1 from /usr/lib/python2.7/dist-packages
  158.     Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  159.     requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  160.     tornado>=2.3: 3.2.2 from /usr/lib/python2.7/dist-packages
  161.   requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  162. Mopidy-dLeyna: 1.2.0 from /usr/lib/python2.7/dist-packages
  163.   Mopidy>=1.0: 2.0.1 from /usr/lib/python2.7/dist-packages
  164.     Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  165.     requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  166.     tornado>=2.3: 3.2.2 from /usr/lib/python2.7/dist-packages
  167.   Pykka>=1.2: 1.2.1 from /usr/lib/python2.7/dist-packages
  168.   uritools>=1.0: 1.0.1 from /usr/lib/python2.7/dist-packages
  169.     ipaddress>=1.0.6: 1.0.14 from /usr/lib/python2.7/dist-packages
  170.     ipaddress>=1.0.6: 1.0.14 from /usr/lib/python2.7/dist-packages
  171. Mopidy-Spotify-Tunigo: 1.0.0 from /usr/lib/python2.7/dist-packages
  172.   Mopidy>=0.19.0: 2.0.1 from /usr/lib/python2.7/dist-packages
  173.     Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  174.     requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  175.     tornado>=2.3: 3.2.2 from /usr/lib/python2.7/dist-packages
  176.   Mopidy-Spotify>=1.2.0: 3.0.0 from /usr/lib/python2.7/dist-packages
  177.     Mopidy>=2.0: 2.0.1 from /usr/lib/python2.7/dist-packages
  178.       Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  179.       requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  180.       tornado>=2.3: 3.2.2 from /usr/lib/python2.7/dist-packages
  181.     Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  182.     pyspotify>=2.0.5: 2.0.5 from /usr/lib/python2.7/dist-packages
  183.       cffi>=1.0.0: 1.1.2 from /usr/lib/python2.7/dist-packages
  184.         pycparser: 2.10 from /usr/lib/python2.7/dist-packages
  185.     requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  186.   Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  187.   tunigo>=1.0.0: 1.0.0 from /usr/lib/python2.7/dist-packages
  188.     requests>=2.0.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  189. Mopidy-TuneIn: 0.4.1 from /usr/lib/python2.7/dist-packages
  190.   Mopidy>=1.1: 2.0.1 from /usr/lib/python2.7/dist-packages
  191.     Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  192.     requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  193.     tornado>=2.3: 3.2.2 from /usr/lib/python2.7/dist-packages
  194.   Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  195.   requests>=2.0.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  196. Mopidy-Spotify: 3.0.0 from /usr/lib/python2.7/dist-packages
  197.   Mopidy>=2.0: 2.0.1 from /usr/lib/python2.7/dist-packages
  198.     Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  199.     requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  200.     tornado>=2.3: 3.2.2 from /usr/lib/python2.7/dist-packages
  201.   Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
  202.   pyspotify>=2.0.5: 2.0.5 from /usr/lib/python2.7/dist-packages
  203.     cffi>=1.0.0: 1.1.2 from /usr/lib/python2.7/dist-packages
  204.       pycparser: 2.10 from /usr/lib/python2.7/dist-packages
  205.   requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages
  206. GStreamer: 1.4.4.0 from /usr/lib/python2.7/dist-packages/gi
  207.   Detailed information:
  208.     Python wrapper: python-gi 3.14.0
  209.     Relevant elements:
  210.       Found:
  211.         uridecodebin
  212.         souphttpsrc
  213.         appsrc
  214.         alsasink
  215.         osssink
  216.         oss4sink
  217.         pulsesink
  218.         id3demux
  219.         id3v2mux
  220.         lamemp3enc
  221.         mad
  222.         mpegaudioparse
  223.         mpg123audiodec
  224.         vorbisdec
  225.         vorbisenc
  226.         vorbisparse
  227.         oggdemux
  228.         oggmux
  229.         oggparse
  230.         flacdec
  231.         flacparse
  232.         shout2send
  233.       Not found:
  234.         flump3dec
  235.  
  236.  
  237. root@raspberrypi:/home/pi# mpc status
  238. volume:100%   repeat: off   random: off   single: off   consume: off
  239.  
  240.  
  241. root@raspberrypi:/home/pi# mpc playlist
  242.  
  243.  
  244. root@raspberrypi:/home/pi# mpc add "Local media/The Best Of Pink Floyd_ A Foot In The Door (2011 - Remaster)"
  245.  
  246.  
  247. root@raspberrypi:/home/pi# mpc playlist
  248. Pink Floyd - Hey You (2011 - Remaster)
  249. Pink Floyd - See Emily Play (2011 - Remaster)
  250. Pink Floyd - The Happiest Days Of Our Lives (2011 - Remaster)
  251. Pink Floyd - Another Brick In The Wall, Pt. 2 (2011 - Remaster)
  252. Pink Floyd - Have A Cigar (2011 - Remaster)
  253. Pink Floyd - Wish You Were Here (2011 - Remaster)
  254. Pink Floyd - Time (Edit) [2011 - Remaster]
  255. Pink Floyd - The Great Gig In The Sky (2011 - Remaster)
  256. Pink Floyd - Money (2011 - Remaster)
  257. Pink Floyd - Comfortably Numb (2011 - Remaster)
  258. Pink Floyd - High Hopes (Edit) [2011 - Remaster]
  259. Pink Floyd - Learning To Fly (2011 - Remaster)
  260. Pink Floyd - The Fletcher Memorial Home (2011 - Remaster)
  261. Pink Floyd - Shine On You Crazy Diamond (Parts 1 - 5) [Edit] (2011 - Remaster)
  262. Pink Floyd - Brain Damage (2011 - Remaster)
  263. Pink Floyd - Eclipse (2011 - Remaster)
  264.  
  265.  
  266. root@raspberrypi:/home/pi# mpc play
  267. volume:100%   repeat: off   random: off   single: off   consume: off
  268.  
  269.  
  270. root@raspberrypi:/home/pi# echo Sound is playing
  271. Sound is playing
  272.  
  273.  
  274. root@raspberrypi:/home/pi# mpc pause
  275. Pink Floyd - Hey You (2011 - Remaster)
  276. [paused]  #1/16   0:18/4:39 (6%)
  277. volume:100%   repeat: off   random: off   single: off   consume: off
  278.  
  279.  
  280. root@raspberrypi:/home/pi# echo No sound is playing
  281. No sound is playing
  282.  
  283.  
  284. root@raspberrypi:/home/pi# mpc play
  285. Pink Floyd - Hey You (2011 - Remaster)
  286. [playing] #1/16   0:18/4:39 (6%)
  287. volume:100%   repeat: off   random: off   single: off   consume: off
  288.  
  289.  
  290. root@raspberrypi:/home/pi# echo Still no sound playing
  291. Still no sound playing
  292.  
  293.  
  294. root@raspberrypi:/home/pi# mpc status
  295. Pink Floyd - Hey You (2011 - Remaster)
  296. [playing] #1/16   0:19/4:39 (6%)
  297. volume:100%   repeat: off   random: off   single: off   consume: off
  298.  
  299.  
  300. root@raspberrypi:/home/pi# sleep 5
  301.  
  302.  
  303. root@raspberrypi:/home/pi# mpc status
  304. Pink Floyd - Hey You (2011 - Remaster)
  305. [playing] #1/16   0:19/4:39 (6%)
  306. volume:100%   repeat: off   random: off   single: off   consume: off
  307.  
  308.  
  309. root@raspberrypi:/home/pi# cat /var/log/mopidy/mopidy.log
  310. 2016-10-23 14:31:26,212 INFO [9585:MainThread] mopidy.__main__: Starting Mopidy 2.0.1
  311. 2016-10-23 14:31:26,334 INFO [9585:MainThread] mopidy.config: Loading config from builtin defaults
  312. 2016-10-23 14:31:26,353 INFO [9585:MainThread] mopidy.config: Loading config from /etc/mopidy/mopidy.conf
  313. 2016-10-23 14:31:26,367 INFO [9585:MainThread] mopidy.config: Loading config from command line options
  314. 2016-10-23 14:31:26,512 INFO [9585:MainThread] mopidy.ext: Disabled extension gmusic: pyasn1>=0.1.8 required, but found pyasn1 0.1.7 at /usr/lib/python2.7/dist-packages
  315. 2016-10-23 14:31:26,658 INFO [9585:MainThread] mopidy.__main__: Enabled extensions: mpd, http, m3u, softwaremixer, file, local
  316. 2016-10-23 14:31:26,659 INFO [9585:MainThread] mopidy.__main__: Disabled extensions: spotify, dleyna, stream, spotify_tunigo, gmusic, tunein
  317. 2016-10-23 14:31:26,807 INFO [9585:MainThread] mopidy.commands: Starting Mopidy mixer: SoftwareMixer
  318. 2016-10-23 14:31:26,817 INFO [9585:MainThread] mopidy.commands: Starting Mopidy audio
  319. 2016-10-23 14:31:26,827 INFO [9585:MainThread] mopidy.commands: Starting Mopidy backends: M3UBackend, FileBackend, LocalBackend
  320. 2016-10-23 14:31:26,848 WARNING [9585:MainThread] mopidy.file.library: /src/samba/media is not a directory. Please create the directory or update the file/media_dirs config value.
  321. 2016-10-23 14:31:26,986 INFO [9585:MainThread] mopidy.local.library: Loaded 31 local tracks using json
  322. 2016-10-23 14:31:27,002 INFO [9585:MainThread] mopidy.commands: Starting Mopidy core
  323. 2016-10-23 14:31:27,003 INFO [9585:Audio-2] mopidy.audio.actor: Audio output set to "autoaudiosink"
  324. 2016-10-23 14:31:27,091 INFO [9585:MainThread] mopidy.commands: Starting Mopidy frontends: MpdFrontend, HttpFrontend
  325. 2016-10-23 14:31:27,099 INFO [9585:MainThread] mopidy.mpd.actor: MPD server running at [::ffff:0.0.0.0]:6600
  326. 2016-10-23 14:31:27,109 INFO [9585:HttpFrontend-9] mopidy.http.actor: HTTP server running at [::ffff:0.0.0.0]:6680
  327. 2016-10-23 14:31:27,110 INFO [9585:MainThread] mopidy.commands: Starting GLib mainloop
  328. 2016-10-23 14:31:31,470 INFO [9614:MainThread] mopidy.__main__: Starting Mopidy 2.0.1
  329. 2016-10-23 14:31:31,595 INFO [9614:MainThread] mopidy.config: Loading config from builtin defaults
  330. 2016-10-23 14:31:31,615 INFO [9614:MainThread] mopidy.config: Loading config from /etc/mopidy/mopidy.conf
  331. 2016-10-23 14:31:31,629 INFO [9614:MainThread] mopidy.config: Loading config from command line options
  332. 2016-10-23 14:31:31,758 INFO [9614:MainThread] mopidy.ext: Disabled extension gmusic: pyasn1>=0.1.8 required, but found pyasn1 0.1.7 at /usr/lib/python2.7/dist-packages
  333. 2016-10-23 14:31:31,888 INFO [9614:MainThread] mopidy.__main__: Enabled extensions: mpd, http, m3u, softwaremixer, file, local
  334. 2016-10-23 14:31:31,889 INFO [9614:MainThread] mopidy.__main__: Disabled extensions: spotify, dleyna, stream, spotify_tunigo, gmusic, tunein
  335. 2016-10-23 14:31:41,399 INFO [9633:MainThread] mopidy.__main__: Starting Mopidy 2.0.1
  336. 2016-10-23 14:31:41,523 INFO [9633:MainThread] mopidy.config: Loading config from builtin defaults
  337. 2016-10-23 14:31:41,542 INFO [9633:MainThread] mopidy.config: Loading config from /etc/mopidy/mopidy.conf
  338. 2016-10-23 14:31:41,556 INFO [9633:MainThread] mopidy.config: Loading config from command line options
  339. 2016-10-23 14:31:41,683 INFO [9633:MainThread] mopidy.ext: Disabled extension gmusic: pyasn1>=0.1.8 required, but found pyasn1 0.1.7 at /usr/lib/python2.7/dist-packages
  340. 2016-10-23 14:31:41,812 INFO [9633:MainThread] mopidy.__main__: Enabled extensions: mpd, http, m3u, softwaremixer, file, local
  341. 2016-10-23 14:31:41,813 INFO [9633:MainThread] mopidy.__main__: Disabled extensions: spotify, dleyna, stream, spotify_tunigo, gmusic, tunein
  342. 2016-10-23 14:31:59,310 INFO [9585:MpdSession-10] mopidy.mpd.session: New MPD connection from [::ffff:127.0.0.1]:50366
  343. 2016-10-23 14:32:03,702 INFO [9585:MpdSession-11] mopidy.mpd.session: New MPD connection from [::ffff:127.0.0.1]:50370
  344. 2016-10-23 14:32:24,655 INFO [9585:MpdSession-12] mopidy.mpd.session: New MPD connection from [::ffff:127.0.0.1]:50374
  345. 2016-10-23 14:32:27,597 INFO [9585:MpdSession-13] mopidy.mpd.session: New MPD connection from [::ffff:127.0.0.1]:50378
  346. 2016-10-23 14:32:42,314 INFO [9585:MpdSession-14] mopidy.mpd.session: New MPD connection from [::ffff:127.0.0.1]:50382
  347. 2016-10-23 14:32:43,139 WARNING [9585:MainThread] mopidy.audio.gst: GStreamer warning: gst-stream-error-quark: No volume control found (3)
  348. 2016-10-23 14:33:01,862 INFO [9585:MpdSession-16] mopidy.mpd.session: New MPD connection from [::ffff:127.0.0.1]:50386
  349. 2016-10-23 14:33:12,261 INFO [9585:MpdSession-17] mopidy.mpd.session: New MPD connection from [::ffff:127.0.0.1]:50390
  350. 2016-10-23 14:33:32,355 INFO [9585:MpdSession-18] mopidy.mpd.session: New MPD connection from [::ffff:127.0.0.1]:50398
  351. 2016-10-23 14:33:45,151 INFO [9585:MpdSession-19] mopidy.mpd.session: New MPD connection from [::ffff:127.0.0.1]:50402
  352.  
  353.  
  354. root@raspberrypi:/home/pi#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement