Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide Radio stream recorder
#21
(08-02-2020, 06:45 PM)Ikke4 Wrote: i used radio recorder kast week to record the pearl jam concert on Kink FM, but today i went to my.ip:8080 and safari told me it could get there. i did a moode upgrade a couple off days ago, can that trigger the problem? 

how can i check that radio recording has started


@Tim Curtis radio recording would be a bonus app in  moode, (in my opinion) 

grt ikke

Did you mean to say 'safari told me it could not get there'. If so, the moOde update will have broken the start up command in rc.local.
To reset this, drop down to the command line in moOde. Use ssh or even moOdes built in ssh terminal server by going to 'configure', 'system' and scroll down to 'local services'. You will see the option 'SSH term server'. On the command line type:
    sudo mcedit /etc/rc.local

At the end of the file just before 'exit 0' you should have the following two lines:
    # Start the radio recorder web server.
    /usr/bin/php -q -S 0.0.0.0:8080 -t /home/pi/RadioRecorder >/dev/null 2>&1


If not, add them and press F2 followed by F10 and then reboot.
    sudo reboot

As you performed the moOde upgrade after recording the concert it will still be in the 'Library', 'Folder', 'Recordings' tab.
Reply
#22
(08-02-2020, 09:07 PM)TheMetalHead Wrote:
(08-02-2020, 06:45 PM)Ikke4 Wrote: i used radio recorder kast week to record the pearl jam concert on Kink FM, but today i went to my.ip:8080 and safari told me it could get there. i did a moode upgrade a couple off days ago, can that trigger the problem? 

how can i check that radio recording has started


@Tim Curtis radio recording would be a bonus app in  moode, (in my opinion) 

grt ikke

Did you mean to say 'safari told me it could not get there'. If so, the moOde update will have broken the start up command in rc.local.
To reset this, drop down to the command line in moOde. Use ssh or even moOdes built in ssh terminal server by going to 'configure', 'system' and scroll down to 'local services'. You will see the option 'SSH term server'. On the command line type:
    sudo mcedit /etc/rc.local

At the end of the file just before 'exit 0' you should have the following two lines:
    # Start the radio recorder web server.
    /usr/bin/php -q -S 0.0.0.0:8080 -t /home/pi/RadioRecorder >/dev/null 2>&1


If not, add them and press F2 followed by F10 and then reboot.
    sudo reboot

As you performed the moOde upgrade after recording the concert it will still be in the 'Library', 'Folder', 'Recordings' tab.

YES thank you, the lines in rc.local weren't there!  so after reading them the radio recorder webserver was back in action... 

bytheway mcedit wasn't found..  nano it is!
Reply
#23
(06-27-2020, 10:48 PM)Tim Curtis Wrote: If there's more demand for something like this I can pull an MPD based recorder off the shelf that I worked on a few years ago. It can b seamlessly integrated into the WebUI and Library. There would be the classic red "record" button. It's pretty basic compared to what @TheMetalHead put together but it could be useful for users that occasionally want to record some songs or a particular radio program to listen to later :-)

The streamed songs would be encoded as FLAC with the file naming format and tags listed below.

File name format= "Artist - Title.flac"
Genre= "Recordings"
Artist
Album= "Recordings"
Title

What u end up with over time is a big compilation album named "Recordings" containing all the recorded songs.

-Tim

Did anything ever come of this, @Tim Curtis? I see in my startup log (v8.3.3):

Quote:20250128 224918 worker: Stream recorder (available: not installed)


Does this line refer to the "MPD based recorder" you referenced in the above post, @TheMetalHead's project, or something else entirely? 

Regards,
William
Reply
#24
(01-31-2025, 07:02 PM)willyside Wrote:
(06-27-2020, 10:48 PM)Tim Curtis Wrote: If there's more demand for something like this I can pull an MPD based recorder off the shelf that I worked on a few years ago. It can b seamlessly integrated into the WebUI and Library. There would be the classic red "record" button. It's pretty basic compared to what @TheMetalHead put together but it could be useful for users that occasionally want to record some songs or a particular radio program to listen to later :-)

The streamed songs would be encoded as FLAC with the file naming format and tags listed below.

File name format= "Artist - Title.flac"
Genre= "Recordings"
Artist
Album= "Recordings"
Title

What u end up with over time is a big compilation album named "Recordings" containing all the recorded songs.

-Tim

Did anything ever come of this, @Tim Curtis? I see in my startup log (v8.3.3):

Quote:20250128 224918 worker: Stream recorder (available: not installed)


Does this line refer to the "MPD based recorder" you referenced in the above post, @TheMetalHead's project, or something else entirely? 

Regards,
William

Thats a really old version of moode!

Later version would show
20250130 215342 worker: Stream recorder: n/a

Yes, it refers to the recorder mentioned earlier. It was never included in any moode release because of legal barriers but I still have the code for the feature.

Try googling for "is it legal to record streaming radio" or "radio ripping" to gain an understanding of the current legal status.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#25
(01-31-2025, 07:50 PM)Tim Curtis Wrote:
(01-31-2025, 07:02 PM)willyside Wrote:
(06-27-2020, 10:48 PM)Tim Curtis Wrote: If there's more demand for something like this I can pull an MPD based recorder off the shelf that I worked on a few years ago. It can b seamlessly integrated into the WebUI and Library. There would be the classic red "record" button. It's pretty basic compared to what @TheMetalHead put together but it could be useful for users that occasionally want to record some songs or a particular radio program to listen to later :-)

The streamed songs would be encoded as FLAC with the file naming format and tags listed below.

File name format= "Artist - Title.flac"
Genre= "Recordings"
Artist
Album= "Recordings"
Title

What u end up with over time is a big compilation album named "Recordings" containing all the recorded songs.

-Tim

Did anything ever come of this, @Tim Curtis? I see in my startup log (v8.3.3):

Quote:20250128 224918 worker: Stream recorder (available: not installed)


Does this line refer to the "MPD based recorder" you referenced in the above post, @TheMetalHead's project, or something else entirely? 

Regards,
William

Thats a really old version of moode!

Later version would show
20250130 215342 worker: Stream recorder: n/a

Yes, it refers to the recorder mentioned earlier. It was never included in any moode release because of legal barriers but I still have the code for the feature.

Try googling for "is it legal to record streaming radio" or "radio ripping" to gain an understanding of the current legal status.

Makes sense. Thanks for the clarification. 

8.3.3 was indeed old. :-p  Had to pack up my Pi's for almost a year for logistical reasons. I'm happy to have pulled them back out and am trying out 9.2.5. Good stuff!
Reply


Forum Jump: