![]() |
[SOLVED] MPD issues with 0.1.5 - Printable Version +- Snakeoil Forums (https://forums.snakeoil-os.net) +-- Forum: Snakeoil Topics (https://forums.snakeoil-os.net/Forum-Snakeoil-Topics) +--- Forum: Support & Troubleshooting (https://forums.snakeoil-os.net/Forum-Support-Troubleshooting) +--- Thread: [SOLVED] MPD issues with 0.1.5 (/Thread-SOLVED-MPD-issues-with-0-1-5) |
RE: MPD issues with 0.1.5 - agent_kith - 08-Feb-2017 (08-Feb-2017, 02:06 PM)Bromf Wrote:Quote:1. Can you look at the file /var/mpd/scratch/mpd.conf, look for the line that says metadata_to_use, and confirm it's written as such: My bad.. it's /var/www/scratch/mpd.conf (Have already amended previous post) Just run something like Code: tail -n 30 /var/www/scratch/mpd.conf RE: MPD issues with 0.1.5 - Bromf - 08-Feb-2017 Ok that works.. file exists and metadata is as required. I removed my usb flashdrives with Music files, copied them off and reformatted the flashdrives then reloaded. MPD 20 now starts and is populated showing all files... However, when I try to play I get..... The following error was encontered when sending the command: play 500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request. Traceback (most recent call last): File "/var/www/client175/cherrypy/_cprequest.py", line 606, in respond cherrypy.response.body = self.handler() File "/var/www/client175/cherrypy/_cpdispatch.py", line 25, in __call__ return self.callable(*self.args, **self.kwargs) File "/var/www/client175/server.py", line 209, in default result = mpd.execute(args) File "/var/www/client175/mpd_proxy2.py", line 229, in execute return getattr(self, cmd)(*cmdlist) File "/var/www/client175/mpd.py", line 189, in <lambda> return lambda *args: self._execute_safe(attr, args, retval) File "/var/www/client175/mpd.py", line 201, in _execute_safe self.connect(self._host, self._port, self._password) File "/var/www/client175/mpd.py", line 419, in connect self._sock = self._connect_tcp(host, port) File "/var/www/client175/mpd.py", line 407, in _connect_tcp raise socket.error(msg) error: [Errno 111] Connection refused A more verbose version of the 'Connection refused" I was getting before...:-) Hope it makes sense to you... When I try to update database I get a similar output..... So progress...closer and closer but no music yet... ;-) RE: MPD issues with 0.1.5 - agent_kith - 08-Feb-2017 (08-Feb-2017, 03:34 PM)Bromf Wrote: Ok that works.. file exists and metadata is as required.
RE: MPD issues with 0.1.5 - JD1 - 08-Feb-2017 I doubt this helps in any way but this is the error message I got yesterday. At the time Client 175 was showing a previous version of my library. Pressing play on one of those songs gave: The following error was encontered when sending the command: play 500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request. Traceback (most recent call last): File "/var/www/client175/cherrypy/_cprequest.py", line 606, in respond cherrypy.response.body = self.handler() File "/var/www/client175/cherrypy/_cpdispatch.py", line 25, in __call__ return self.callable(*self.args, **self.kwargs) File "/var/www/client175/server.py", line 209, in default result = mpd.execute(args) File "/var/www/client175/mpd_proxy2.py", line 229, in execute return getattr(self, cmd)(*cmdlist) File "/var/www/client175/mpd.py", line 189, in <lambda> return lambda *args: self._execute_safe(attr, args, retval) File "/var/www/client175/mpd.py", line 201, in _execute_safe self.connect(self._host, self._port, self._password) File "/var/www/client175/mpd.py", line 419, in connect self._sock = self._connect_tcp(host, port) File "/var/www/client175/mpd.py", line 407, in _connect_tcp raise socket.error(msg) error: [Errno 111] Connection refused Now while working fine and playing some Pink Floyd cat /var/tmp/stderr client: [0] opened from 127.0.0.1:34042 client: [1] opened from 127.0.0.1:34044 avahi: Service 'bubble1' successfully established. player: played "A Momentary Lapse Of Reason/05 - On The Turning Away.flac" RE: MPD issues with 0.1.5 - m@jor - 08-Feb-2017 MPD V20 crashed if music library is NFS-share directory. I unmount NFS share and start V20. It's working. I did mount 192.168.1.11:/export/Music to /media/music/NAS and instant results - MPD V20 crashed: exception: Failed to access /media/music/NAS/Music: No such file or directory I found in my music library this file lrwxrwxrwx 1 root users 10 февр. 8 09:21 Music -> /mnt/Music drwxrwxrwx+ 47 root users 4096 февр. 8 09:21 Jazz is likely he is the source of the problem ![]() I was right. ![]() All because of that damned file ![]() Now V20 normally starts and scans music from Client175 RE: MPD issues with 0.1.5 - m@jor - 09-Feb-2017 And another MPD V20 defect: run client Cantata 2.0.1 and M20 dies exception: Failed to open /media/playlists/[Radio Streams].m3u: No such file or directory To solve the problem, place the file [Radio Streams].m3u (may be empty) in directory /media/playlists/ RE: MPD issues with 0.1.5 - Bromf - 09-Feb-2017 (08-Feb-2017, 03:54 PM)agent_kith Wrote:(08-Feb-2017, 03:34 PM)Bromf Wrote: Ok that works.. file exists and metadata is as required. Memtest run for several hours and allgood. Started MPD and everything works, database updates and files play. :-) Looking back I think I see my problem .....oops.. I have several different players in different locations and move usb drives between them. Mostly these are formatted ntfs for compatibility accross the different os' One os has problems with ntfs and I use a dedicated drive formatted vfat. Somehow..my big mistake!... that drive had been put in the pool with the others...Thinking the drives were all ntfs I have been adding it as such to the music mount. Of course it fails to start, mpd throws errors and can't update. Discovered this when I went back to LMS and did a database rescan and couldn't find any files !!! Reformatted the flashdrive,added files and now mpd works as expected. My apologies for imposing upon your time and efforts ![]() RE: Snakeoil ISO Version 0.1.5 (Power Cable) - pupsik2005 - 09-Feb-2017 (07-Feb-2017, 01:31 AM)pupsik2005 Wrote:(06-Feb-2017, 06:07 PM)agent_kith Wrote: I can not activate RE: MPD issues with 0.1.5 - agent_kith - 09-Feb-2017 (09-Feb-2017, 03:52 AM)Bromf Wrote: Memtest run for several hours and allgood.That's supposed to be one of my walkthrough tweaks for the blog. Kind of let this out of the bag, but doesn't matter as I havn't written it yet ![]() So.... From the responses so far, what I can gather so far is, I still have no idea ![]() So far, it's either - missing playlists, missing folders, problem files that will cause the crash.. What I don't know is if this is a MPD issue or something else. Until I can find out what's going on, when MPD crashes - check the last lines of /var/tmp/stderr and fix whatever it says. MPD shouldn't just crash like that.. I'd have to dig into the codes and see why it's not handling that gracefully. RE: MPD issues with 0.1.5 - agent_kith - 12-Feb-2017 For folks who are using MPD and having problems. This may be resolved in 0.1.5a firmware. Please download that firmware and test if everything is working as expected. If there are no reports of failures in 2 weeks from now I'd just assume this issue resolved and spin up 0.1.5a. ![]() |