News:

LATEST RELEASE:  FPP 7.2 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/7.2

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16349
Latest: bweber
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 131147
Total Topics: 16238
Most Online Today: 92
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 2
Guests: 48
Total: 50

EDM RDS Plugin

Started by XmasInGalt, August 29, 2022, 08:21:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

XmasInGalt

I know that this plugin is old but I wanted to see if I could get it running on my PI 2 FPP 5.5.

I've done a lot of reading of the old posts and got to the point where I can get the RDS station ID & song name to update when I use the song1.sh script. That tells me that the physical part is working.  I issue I have is that the 'now playing' info never updates the EDM RDS.   Below is part of the log file:
+++++++++++++++++++++++++
2022-08-29 20:38:57.568 (9130) [Playlist] /opt/fpp/src/playlist/Playlist.cpp:494: Playlist::Start()
2022-08-29 20:38:57.568 (9130) [Playlist] /opt/fpp/src/playlist/Playlist.cpp:512: ============================================================================
2022-08-29 20:38:57.569 (9130) [Playlist] /opt/fpp/src/playlist/PlaylistEntryMedia.cpp:151: PlaylistEntryMedia::StartPlaying()
2022-08-29 20:38:57.569 (9130) [Playlist] /opt/fpp/src/playlist/PlaylistEntryMedia.cpp:110: PlaylistEntryMedia::PreparePlay()
2022-08-29 20:38:57.569 (9130) [Playlist] /opt/fpp/src/playlist/PlaylistEntryMedia.cpp:428: GetNextRandomFile() = /home/fpp/media/music/Rockin Round the Christmas Tree.mp3
2022-08-29 20:38:57.570 (9130) [Playlist] /opt/fpp/src/playlist/PlaylistEntryMedia.cpp:305: PlaylistEntryMedia::OpenMediaOutput() - Starting
2022-08-29 20:38:57.570 (9130) [Playlist] /opt/fpp/src/playlist/PlaylistEntryMedia.cpp:325: PlaylistEntryMedia - Starting /home/fpp/media/music/Rockin Round the Christmas Tree.mp3
2022-08-29 20:38:57.570 (9130) [MediaOut] /opt/fpp/src/mediadetails.cpp:48: ParseMedia(/home/fpp/media/music/Rockin Round the Christmas Tree.mp3)
2022-08-29 20:38:57.570 (9130) [MediaOut] /opt/fpp/src/mediadetails.cpp:64: Unable to find /home/fpp/media/music/Rockin Round the Christmas Tree.mp3 media file to parse meta data
2022-08-29 20:38:57.582 (9130) [Plugin] /opt/fpp/src/Plugins.cpp:549: Media parent process, resuming work.
2022-08-29 20:38:57.583 (9148) [Plugin] /opt/fpp/src/Plugins.cpp:491: Child process, calling edmrds callback for media : /home/fpp/media/plugins/edmrds/callbacks.py
2022-08-29 20:38:57.586 (9148) [Plugin] /opt/fpp/src/Plugins.cpp:543: Media plugin data: {"Media":"/home/fpp/media/music/Rockin Round the Christmas Tree.mp3","Sequence":"","type":"media"}

2022-08-29 20:38:58.141 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - [NULL @ 0x6a219330] Opening '/home/fpp/media/music/Rockin Round the Christmas Tree.mp3' for reading
2022-08-29 20:38:58.142 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - [file @ 0x6a20a480] Setting default whitelist 'file,crypto'
2022-08-29 20:38:58.144 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - Probing mp3 score:12 size:2048
2022-08-29 20:38:58.146 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - Probing mp3 score:12 size:4096
2022-08-29 20:38:58.149 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - Probing mp3 score:25 size:3840
2022-08-29 20:38:58.152 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - Probing mp3 score:51 size:12032
2022-08-29 20:38:58.154 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - [mp3 @ 0x6a219330] Format mp3 probed with size=16384 and score=51
2022-08-29 20:38:58.154 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - id3v2 ver:3 flags:00 len:4342
2022-08-29 20:38:58.155 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:762: Verbose: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - [mp3 @ 0x6a219330] Skipping 0 bytes of junk at 4352.
2022-08-29 20:38:58.156 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - [mp3 @ 0x6a219330] Before avformat_find_stream_info() pos: 4352 bytes read:32768 seeks:0 nb_streams:1
2022-08-29 20:38:58.173 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - [mp3 @ 0x6a219330] All info found
2022-08-29 20:38:58.174 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:768: Verbose: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - [mp3 @ 0x6a219330] Estimating duration from bitrate, this may be inaccurate
2022-08-29 20:38:58.174 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - [mp3 @ 0x6a219330] stream 0: start_time: 0.000 duration: 128.490
2022-08-29 20:38:58.174 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - [mp3 @ 0x6a219330] format: start_time: 0.000 duration: 128.490 bitrate=256 kb/s
2022-08-29 20:38:58.174 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - [mp3 @ 0x6a219330] After avformat_find_stream_info() pos: 46336 bytes read:65536 seeks:0 frames:50
2022-08-29 20:38:58.176 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:760: Debug: "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" - [SWR @ 0x6a247c90] Using fltp internally between filters
2022-08-29 20:38:58.285 (9130) [Playlist] /opt/fpp/src/playlist/PlaylistEntryMedia.cpp:352: PlaylistEntryMedia::OpenMediaOutput() - Complete
2022-08-29 20:38:58.286 (9130) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:948: SDLOutput::Start() 6A214588
2022-08-29 20:38:58.289 (9130) [Playlist] /opt/fpp/src/playlist/PlaylistEntryBase.cpp:96: PlaylistEntryBase::StartPlaying()
2022-08-29 20:38:58.289 (9130) [Playlist] /opt/fpp/src/playlist/PlaylistEntryBase.cpp:187: ---- Playlist Entry ----
2022-08-29 20:38:58.289 (9130) [Playlist] /opt/fpp/src/playlist/PlaylistEntryBase.cpp:188: Entry Type: media
2022-08-29 20:38:58.290 (9130) [Playlist] /opt/fpp/src/playlist/PlaylistEntryBase.cpp:189: Entry Note:
2022-08-29 20:38:58.290 (9130) [Playlist] /opt/fpp/src/playlist/PlaylistEntryMedia.cpp:298: Media Filename: /home/fpp/media/music/Rockin Round the Christmas Tree.mp3
2022-08-29 20:38:58.290 (9130) [Playlist] /opt/fpp/src/playlist/Playlist.cpp:559: Exiting Playlist::Start()

If anybody can point me in the right direction, I would really appreciate it.

Sincerely,

Dale.

JonD

#1
Quote from: XmasInGalt on August 29, 2022, 08:21:07 PMIf anybody can point me in the right direction, I would really appreciate it.

How do you have the FPP attached to the EDM transmitter?  Sounds like maybe the pinout is not correct, or your usb cable is bad.  Some have mentioned that they could not get it to work when the ground wire was connected.  Others have mentioned they had to try a few different USB cables. 

Can you take a picture of your system?  I just set mine up this year and posted some pictures of my setup below.

https://falconchristmas.com/forum/index.php?topic=15364.msg126186#msg126186

Older songs downloaded from the internet sometimes do not have any metadata.  Rockin Round the Christmas Tree.mp3 could be old enough it might not have any info assigned to it.  I use mp3tag to create and/or adjust the song information.  Do you have this same problem with newer songs downloaded from Amazon?
https://www.mp3tag.de/en/

XmasInGalt

Hi Jon. Thanks for the reply. I actually followed your previous post to connect the GPIO pins shown in the post. I can update the EDM by running song1.sh script in the plugin folder.at the command prompt. Based on the log file, 'mediadetails.cop' can't find the mp3 file (highlighted in red on the first post). The metadata for each song appears on the pc before I copied them to the pi but I will try the mp3tag app to review. 

Sincerely
Dale

JonD

#3
Quote from: XmasInGalt on August 30, 2022, 08:25:17 AMHi Jon. Thanks for the reply. I actually followed your previous post to connect the GPIO pins shown in the post. I can update the EDM by running song1.sh script in the plugin folder.at the command prompt. Based on the log file, 'mediadetails.cop' can't find the mp3 file (highlighted in red on the first post). The metadata for each song appears on the pc before I copied them to the pi but I will try the mp3tag app to review.

Sincerely
Dale
If the EDM is updating when you manually modify the FPP file, you would like to think your wiring is correct.  You might try removing the EDM plugin, reboot the FPP, and reinstall as that fixes things on occasion.  I was using FPP 5.5 and now FPP 6.02 without issue.

You haven't upgraded a lot of times and have an older default music directory?  Assuming the "/home/fpp/media/music/Rockin Round the Christmas Tree.mp3" file does exist in that exact location.

Support FPP

+- Recent Topics

FPP 7.3 sound blaster issue by breese
Today at 04:17:42 AM

FPP 7.3.1 sending mixed colors? by CaptainMurdoch
Today at 12:43:22 AM

Falcon Player Network Setup by MikeKrebs
December 05, 2023, 09:37:37 PM

P5 Screen by LedMutt
December 05, 2023, 08:10:20 PM

Remote Falcon Plugin issue by Poporacer
December 05, 2023, 07:58:04 PM

Visualizer File by Poporacer
December 05, 2023, 05:17:00 PM

Color Order by Poporacer
December 05, 2023, 05:13:57 PM

Abnormal Condition Error by Poporacer
December 05, 2023, 04:27:34 PM

Channels not working by CeP
December 05, 2023, 06:44:21 AM

F8-B+ locking up BBB by CeP
December 05, 2023, 05:14:10 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod