News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 15463
Latest: Lwarnell01
New This Month: 86
New This Week: 4
New Today: 4
Stats
Total Posts: 126791
Total Topics: 15537
Most Online Today: 90
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 1
Guests: 49
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

What is the second best way to get rid of pixel gap errors? by JonD
Today at 06:26:47 AM

MultiSync copying of Show Files not working in FPP 6.1.1 by dkulp
Today at 12:12:07 AM

running event date from within xlights sequence. by Poporacer
November 26, 2022, 11:26:24 PM

Wifi set up with no wired connection by Poporacer
November 26, 2022, 11:23:59 PM

p10 panel not working with xlight output by pennymoor
November 26, 2022, 11:07:29 PM

F16v3 Won't boot or power on by rjhodgefamily
November 26, 2022, 07:54:39 PM

Cannot Ping e1.31 Channel Data Target by mwolbert
November 26, 2022, 07:49:25 PM

Controller not keeping accurate time by JonD
November 26, 2022, 07:31:07 PM

show locks me out of falcon player by rudybuddy
November 26, 2022, 07:16:32 PM

Daisy Chain PSU by schbrownie
November 26, 2022, 07:00:52 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod