Closed hyperbit00 closed 4 years ago
Please try mopidy local scan
and then post the output of tail -n 500 /var/log/syslog
.
Did it via local Scan (webinterface) with the Output postet above Is there a difference when i do it via console?
Did it via local Scan (webinterface) with the Output postet above Is there a difference when i do it via console?
Not sure, but worth a try.
oky i did it via console no change :(
Are these the real file names?
Mar 21 21:44:30 phoniebox mopidy[682]: ERROR [LocalBackend-7] mopidy_local.library Lookup error for local:track:Testordner/DE47B2~1.MP3: no such table: tracks
I found a hint here as well https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/640#issuecomment-568188673
Filename was fine. But i Changed the File to get better names :) and reuploaded the test files. No Change :(
i tryd
sudo apt-get install gstreamer1.0-plugins-bad -y
no Change :(
Maybee there is a error with add_callback?
Mar 22 09:45:15 phoniebox mopidy[686]: INFO [MpdSession-79] mopidy_mpd.session New MPD connection from [::ffff:127.0.0.1]:56044 Mar 22 09:45:15 phoniebox mopidy[686]: INFO [MpdSession-80] mopidy_mpd.session New MPD connection from [::ffff:127.0.0.1]:56048 Mar 22 09:45:15 phoniebox mopidy[686]: ERROR [IrisFrontend-13] mopidy.listener Triggering event failed: tracklist_changed() Mar 22 09:45:15 phoniebox mopidy[686]: Traceback (most recent call last): Mar 22 09:45:15 phoniebox mopidy[686]: File "/usr/local/lib/python3.7/dist-packages/mopidy/listener.py", line 40, in on_event Mar 22 09:45:15 phoniebox mopidy[686]: getattr(self, event)(**kwargs) Mar 22 09:45:15 phoniebox mopidy[686]: File "/usr/local/lib/python3.7/dist-packages/mopidy_iris/frontend.py", line 29, in tracklist_changed Mar 22 09:45:15 phoniebox mopidy[686]: iris.ioloop.add_callback(functools.partial(iris.clean_queue_metadata)) Mar 22 09:45:15 phoniebox mopidy[686]: AttributeError: 'NoneType' object has no attribute 'add_callback' Mar 22 09:45:15 phoniebox mopidy[686]: INFO [MpdSession-81] mopidy_mpd.session New MPD connection from [::ffff:127.0.0.1]:56052 Mar 22 09:45:15 phoniebox mopidy[686]: ERROR [LocalBackend-7] mopidy_local.library Lookup error for local:track:Testordner/1.mp3: no such table: tracks Mar 22 09:45:15 phoniebox mopidy[686]: ERROR [LocalBackend-7] mopidy_local.library Lookup error for local:track:Testordner/2.mp3: no such table: tracks
I tryd to update system.
now if i try to play i get (chmod for the file is 777)
Mar 22 10:02:07 phoniebox lighttpd[989]: error adding /home/pi/RPi-Jukebox-RFID/shared/audiofolders/Testordner/quality.mp3: directory or file not found
According to this ticket https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/700#issuecomment-596083433 scanning and then restarting mopidy helped.
According to this ticket #700 (comment) scanning and then restarting mopidy helped.
s-Martin i have installd the whole machine again. This Time with One Line Raspbian Buster (recommended version) Installer.
But i get a 404 error @ iris --> so i follow your suggestion (Sticky: Spotify (Iris) does not work, e.g. error „404“ - Howto #852
but now i have to start mopidy via console after each reboot of the machine :(
and i found out, that only the "mipody local scan" cmd make the local files work ... (the same via webinterface doesnt work although the search process was successful)
is that a bug? and how can i fix the automatic startup of mopidy
Try sudo systemctl enable mopidy
and sudo systemctl start mopidy
.
If that doesn't work, please show the logs again
Now everythin works (have to refresh db in phoniebox after each fileadd to get it work)
Bug
@ 19.03.2020 i installd a fresh raspbian lite buster os and make a fresh on line developer installation of phoniebox
the Phoniebox works like a charm, excepts the local mp3 play...
What I did
I added a Local mp3 file to the Phoniebox and conect this to a RFID Chip When i try to load this file (with the chip or webinterface) there is no output
so I run a local libary scan (and it never stops?)
in conso
le i typed
tail -n 500 /var/log/syslog
Output
Internetradio, Spotify playlists works like a charm.. but local playback not :(
Any Advice?