News:

Server migration complete, Welcome to version 2.1.1

+-+-

+-User

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

+-Site Stats

Members
Total Members: 16350
Latest: bweber
New This Month: 136
New This Week: 6
New Today: 0
Stats
Total Posts: 130863
Total Topics: 16199
Most Online Today: 67
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 6
Guests: 53
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

AC lights on arches not working by jonmtme
Today at 05:31:46 AM

slights pb by K-State Fan
Today at 05:13:38 AM

2nd year newbie with same issues from last year by breese
Today at 04:26:35 AM

Join Our Live Stream! by PkPrince78
November 27, 2023, 10:41:20 PM

F16v3 not in sync with 2 Kulp K8s by MikeKrebs
November 27, 2023, 09:10:42 PM

FPP Unresponsive by jem5136
November 27, 2023, 08:47:51 PM

F48v4-NS Network Light Flashing, No connection by tbone321
November 27, 2023, 08:24:35 PM

Upload output by jnealand
November 27, 2023, 07:13:47 PM

Can 7.3.5 run ETH0, ETH1, and Wifi? by dennismccreery
November 27, 2023, 07:08:14 PM

Red lights on strings by JonD
November 27, 2023, 04:44:46 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod