command line internet radio grabber with listen capabilities
Project description
command line internet radio grabber with listen capabilities
Info
Can read and write removable, network and local storage.
Professional AAC Audio File Recovery during operation.
Type $ ghettorecorder to display the menu.
Package folder can be copied elsewhere, run cmd.py from there.
Multiple menu options are available:
* Custom save path (written to config)
* Blacklist, grab only once (written to config)
* Store config file elsewhere and store grabbed content in ‘Custom save path’ (elsewhere)
* Offline AACP repair, AAC repair files https://aacrepair.readthedocs.io/
Links
Issues to fix: https://github.com/44xtc44/GhettoRecorder/issues
ReadTheDocs: https://ghettorecorder.readthedocs.io/ (see module index)
Configuration File
‘Settings.ini’ is the config file for GhettoRecorder. INI files consist of sections to divide different settings.
[STATIONS] is used for radio connection information
anime_jp = http://streamingv2.shoutcast.com/japanimradio-tokyo
[GLOBAL] stores blacklist status and the parent save directory location
blacklist_enable = True
save_to_dir = f:\31
Usage
Set path to config
Write Path to settings.ini and blacklist.json file Enter a new path, OS syntax (f:\10 or /home ) -->: F:\44 created: F:\44 ..settings.ini [GLOBAL] section: {'blacklist_enable': 'True'} Hit Enter to leave -->:
You can store your config file ‘settings.ini’ somewhere on the file system.
Default place for grabbed files is the mentioned folder.
If a custom save path is written to config, this path is used.
aac file repair
Write a path to aac files. Only aac files will be touched. ..settings.ini [GLOBAL] section: {'blacklist_enable': 'True', 'save_to_dir': 'f:\\31'} Enter a path, OS syntax (f:\10 or /home ) -->:f:\6aac created: f:\6aac f:\6aac\aac_repair created [ COPY(s) in f:\6aac\aac_repair ] ----- 1 file(s) failed ----- f:\6aac\Sergey Sirotin & Golden Light Orchestra - Around The World.aacp ValueError non-hexadecimal number found in fromhex() arg at position 5438113 ----- 97 file(s) repaired ----- f:\6aac\111_Slovo_Original_Mix.aac; cut(bytes): [330] f:\6aac\351 Lake Shore Drive - You Make My Day.aacp; cut(bytes): [389]
The repair option uses a folder name as input.
Repaired files are stored in ‘aac_repair’ sub folder.
Cut bytes count is shown at the end of the line.
Repair can fail if the file is corrupted not only at start or end.
Pip Install
""" Linux """ $ pip3 install ghettorecorder """ Windows """ > pip install ghettorecorder
Uninstall
Python user
find the module location
uninstall and then remove remnants
remove:
>$ pip3 show ghettorecorder >$ pip3 uninstall ghettorecorder
Location: … /python310/site-packages
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
GhettoRecorder-2.4.5.tar.gz
(50.6 kB
view details)
Built Distribution
File details
Details for the file GhettoRecorder-2.4.5.tar.gz
.
File metadata
- Download URL: GhettoRecorder-2.4.5.tar.gz
- Upload date:
- Size: 50.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2d12fae1cfb4af54ae1a81d6ecbe665a86e96a2a85578b0ae14cd0d9da53654 |
|
MD5 | 6c4fd0d0a97d9cf49ebb6adfe566cbb9 |
|
BLAKE2b-256 | 53d9243297ca1d94c84fd004d60d0d96d4f6411742a13d959d5a0ad9ac977c63 |
File details
Details for the file GhettoRecorder-2.4.5-py3-none-any.whl
.
File metadata
- Download URL: GhettoRecorder-2.4.5-py3-none-any.whl
- Upload date:
- Size: 36.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3b5cde187ba9ae286d091092f42934eb4be901784a18d625cd4036455501620 |
|
MD5 | 07668e27b28bc967e31aa83975bf2d2d |
|
BLAKE2b-256 | 10b2eab631336aff8c1a6587860ffb97791d156087a1e09b57e9460617857ca3 |