News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 16528
Latest: fugley
New This Month: 16
New This Week: 1
New Today: 0
Stats
Total Posts: 133193
Total Topics: 16558
Most Online Today: 87
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 4
Guests: 55
Total: 59

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 V8 Plugins Needing Testing by ShadowLight8
Today at 08:07:31 PM

Raspberry pi 4 issues by dspenman
Today at 07:23:34 PM

So in Xlights what RGB in string settings do I use to get the colors correct by tbone321
Today at 06:08:59 PM

K2-Pi0 no output to pixels by ironsniof
Today at 02:30:33 PM

Varying Effects for Groups of Submodels by JonD
Today at 01:14:56 PM

K2-Pi0 Unable to Start FPPD by darylc
Today at 12:45:13 AM

Control lights directly from the GPIO of a PI by Poporacer
September 15, 2024, 12:25:42 PM

New K16s by dkulp
September 15, 2024, 08:23:40 AM

FPP After Hours Music Plugin has been updated by jcross
September 14, 2024, 08:49:51 PM

Intermittent Test Pattern failure on Channel Outputs > LED Panel by k6ccc
September 14, 2024, 08:11:30 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod