项目作者: sfuhrm

项目描述 :
Record or play internet radio streams.
高级语言: Java
项目地址: git://github.com/sfuhrm/radiorecorder.git
创建时间: 2017-11-02T10:33:19Z
项目社区:https://github.com/sfuhrm/radiorecorder

开源协议:Apache License 2.0

下载


Radio Recorder

Java CI
Integration Test
ReleaseDate
Maven Central
License

A command line internet radio player and recorder.

Some of the features are:

  • Live Playback
    • Display of the current song title played.
    • Live playback using Java Media Framework.
    • Live Google Chromecast playback of radio streams.
  • Recording
    • Recording of one file per song.
    • Writing of ID3 tags (ID3v1 and ID3V2.4).
    • Parallel recording of multiple radio stations.
  • Integrated querying and resolving using the Radio Browser internet radio database.
  • Stream formats:
    • MP3
    • OGG Vorbis
    • AAC/AAC+/MP4

Downloading & installation

The current version can be downloaded for Debian, CentOS and Mac OS X systems here:

https://github.com/sfuhrm/radiorecorder/releases

Releases

Releases typically contain files named like this for downloading:

  • Shipped as x86/AMD64 installable package
    • radiorecorder_xxx_amd64.deb: A Debian install archive with the program and the Java runtime included.
    • radiorecorder-xxx.x86_64.rpm: A CentOS/RHEL install archive with the program and the Java runtime included.
    • radiorecorder-xxx.pkg: A macOS PKG installer with the program and the Java runtime included.
    • radiorecorder-xxx.dmg: A macOS DMG installer with the program and the Java runtime included.
  • Needing a JDK, runnable on any platform
    • radiorecorder-xxx-bin.tar.bz2: A program-only archive in tar.bz2 format that requires a Java runtime installed on your system.
    • radiorecorder-xxx-bin.tar.gz: A program-only archive in tar.gz format that requires a Java runtime installed on your system.
    • radiorecorder-xxx-bin.zip: A program-only archive in ZIP format that requires a Java runtime installed on your system.

You can choose whether you prefer an installation with the runtime as a package or care for the Java runtime yourself.
The latter makes sense when you’re on Windows, Aarch64, X86, or some other system with no dedicated installer.

Usage

Playback

When playing, the usage can consist of the search and the play step:

  • Search the stations (i.e. radiorecorder -list-station synthpop)
  • Play a specific radio station of the list from above (radiorecorder -play f9ab3256-33a7-41a3-ba57-646bf3750ae9)

Recording

When recording, the usage usually consists also of the two steps:

  • Search the stations (i.e. radiorecorder -list-station synthpop)
  • Record a specific radio station of the list from above (radiorecorder -use-songnames -directory . f9ab3256-33a7-41a3-ba57-646bf3750ae9)

Command line options

The program is a command line only program. It supports multiple parameters:

  1. URL_OR_UUID_OR_NAME : URLs of the internet radio
  2. station(s), (partial) station name
  3. for lookup or the station UUID (see
  4. option -list-station)
  5. -abort-after-duration DURATION : Abort after a given time, i.e.
  6. '3m10s', '3h' or '10s'.
  7. -abort-after-kb (-abort-after) KB : Abort after writing the given amount
  8. of kilobytes to target drive.
  9. -cast (-c) CASTDEVICE_TITLE : Stream to the given chrome cast
  10. device. Use cast device title from
  11. '-list-cast'.
  12. -client (-C) [JAVA_NET | : Specify HTTP client to use. (default:
  13. APACHE_CLIENT_5] APACHE_CLIENT_5)
  14. -directory (-d) DIR : Write recorded stream files to a
  15. folder hierarchy in this target
  16. directory.
  17. -help (-h) : Show this command line help.
  18. (default: true)
  19. -limit (-l) COUNT : Limit of stations to download in
  20. parallel. (default: 10)
  21. -list-cast (-L) : List chromecast devices, then exit.
  22. (default: false)
  23. -list-mixer (-X) : List audio playback mixers, then
  24. exit. (default: false)
  25. -list-station (-Z) : List matching radio stations limited
  26. by '-limit', then exit. (default:
  27. false)
  28. -min-free (-M) MEGS : Minimum of free megs on target drive.
  29. (default: 512)
  30. -mixer (-m) MIXER_NAME : The mixer to use for playback. The
  31. mixer parameter is the name from the
  32. '-list-mixer' option output.
  33. -play (-p) : Play live instead of recording to a
  34. file. (default: false)
  35. -proxy (-P) URL : The HTTP/HTTPS proxy to use.
  36. -reconnect (-r) : Automatically reconnect after
  37. connection loss. (default: false)
  38. -timeout (-T) SECS : Connect/read timeout in seconds.
  39. (default: 60)
  40. -use-songnames (-S) : Use songnames from retrieved metadata
  41. information. Will create one file per
  42. detected song. (default: false)
  43. -version (-V) : Show version information and exit.
  44. (default: false)

License

Copyright 2017-2024 Stephan Fuhrmann

Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.