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: 15525
Latest: Guinner16
New This Month: 33
New This Week: 21
New Today: 4
Stats
Total Posts: 127343
Total Topics: 15630
Most Online Today: 135
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 8
Guests: 48
Total: 56

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 am I doing wrong? FPP I’m ZCCP? by rudybuddy
Today at 09:01:26 AM

FPP Playlist by dkulp
Today at 07:14:42 AM

Setting up LOR to serial of F16v3 and configure in xLights by brmeadows
Today at 05:46:42 AM

FPP not releasing control to WLED when idle by Poporacer
December 06, 2022, 10:39:18 PM

1 player/2 remote by Poporacer
December 06, 2022, 08:07:48 PM

K8-PB Network Issue by Kensington Graves
December 06, 2022, 07:40:50 PM

Failed V1.03 diff receiver boards by bud29
December 06, 2022, 07:13:38 PM

XLights Variant by Poporacer
December 06, 2022, 06:56:52 PM

FPP Oddness. Remote not remoting, schedule not scheduling??? by Poporacer
December 06, 2022, 06:27:33 PM

Text inverted by dreiman
December 06, 2022, 06:12:17 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod