A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
Hi there.
Good news fist: I got my phoniebox running well (I2S sound with amplifier, OLED-Display, RC522-RFID, GPIO Buttons, and on/off shim).
That was a long way. Rotary encoder and line out will follow.
That was my first Rasperry Pi project and my fist contact with ssh (runs headless).
I use Rasbian buster 10 and phoniebix 2.0 rc7 classic on a Raspi 4
But there is a problem described following:
What works:
-playing single folders without subfolders (livestream, podcast, normal playlist...all works) via browser and RFID
-playing folders that contain subfolders via browser
Not working:
-playing the same folder that contain subfolders via RFID
I did not expect that starting a playlist behaves different with RFID and Browser.
Playing "mainfolder" via browser adds all streams from the subfolders to the file ".../playlists/mainfolder-&RCRSV%.m3u" and starts playing as it should.
After swiping a RFID-card connected to "mainfolder", ".../playlists/mainfolder.m3u" is created, but without content (0 Bytes). If something is playing, this stops. The display shows that phoniebox expects a RFID input.
If I rename mainfolder-&RCRSV%.m3u to mainfolder.m3u I can start the playlist via RFID and I can play and navigate the playlist as expected.
Emptying the playlists dir, trying with a new card, deleting the content of latestID.txt, Latest_Folder_Played, Latest_Playlist_Played, Latest_RFID, all without success.
My workaround: adding several stream-URLs to a livestream.txt -> works, but so I cant assing a certain station to a RFID-card.
Also this shows the songtitles in the playlist instead of the radiostation name (this happens also with livestreams in subfolders and is actually not related to the main issue).
My first attempt was putting each stream-URLs in a different .m3u file (all in one directory), to handle the streams like normal files.
I thought so I can use the shuffle option with webradio.
This did not work at all (creates empty playlist both with RFID and browser).
Hi, quick question. How did you get the rfid reader and the oled display working? I'd like to do that too, but not sure how to connect multiple i2c devices at the same time. Cheers.
Hi there. Good news fist: I got my phoniebox running well (I2S sound with amplifier, OLED-Display, RC522-RFID, GPIO Buttons, and on/off shim). That was a long way. Rotary encoder and line out will follow. That was my first Rasperry Pi project and my fist contact with ssh (runs headless).
I use Rasbian buster 10 and phoniebix 2.0 rc7 classic on a Raspi 4
But there is a problem described following:
What works: -playing single folders without subfolders (livestream, podcast, normal playlist...all works) via browser and RFID -playing folders that contain subfolders via browser
Not working: -playing the same folder that contain subfolders via RFID
I did not expect that starting a playlist behaves different with RFID and Browser.
Folder structure is this:
Playing "mainfolder" via browser adds all streams from the subfolders to the file ".../playlists/mainfolder-&RCRSV%.m3u" and starts playing as it should.
After swiping a RFID-card connected to "mainfolder", ".../playlists/mainfolder.m3u" is created, but without content (0 Bytes). If something is playing, this stops. The display shows that phoniebox expects a RFID input.
If I rename mainfolder-&RCRSV%.m3u to mainfolder.m3u I can start the playlist via RFID and I can play and navigate the playlist as expected.
Emptying the playlists dir, trying with a new card, deleting the content of latestID.txt, Latest_Folder_Played, Latest_Playlist_Played, Latest_RFID, all without success.
My workaround: adding several stream-URLs to a livestream.txt -> works, but so I cant assing a certain station to a RFID-card.
Also this shows the songtitles in the playlist instead of the radiostation name (this happens also with livestreams in subfolders and is actually not related to the main issue).
My first attempt was putting each stream-URLs in a different .m3u file (all in one directory), to handle the streams like normal files. I thought so I can use the shuffle option with webradio. This did not work at all (creates empty playlist both with RFID and browser).
Beste Grüße Stefan