-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Station name update for direct url #91
Conversation
Hi, @marvoh, By that time enjoy this meme 👇 , hope you like it 😄 Use this action on your projects. Use jokes on issues instead. |
…A". This becomes problematic when you want to record the from the station because the default naming structure is STATION_NAME_FILE_NAME. In linux you will end up getting directory "N/A" does not exist. This update attempts to get the station name from header 'ICY-Name' from the URL provided Updated custom url name from 'N/A' to 'Custom Station' Changed requests library from 'urllib.request' to 'requests' to get rid of 'Audit url open for permitted schemes' warning
d7d1087
to
85afa01
Compare
Thank you so much for the bug and solution. I totally overlooked it! I'm going to test it. |
please run |
@all-contributors please add @marvoh for code,bug |
I've put up a pull request to add @marvoh! 🎉 |
* feat: 💄 less log messages * feat: * feat: ✨ add: sort result page Sort result page with several parameters like popularity, clickcount, random etc. * feat: ✨ add: new column for sorted results * fix: 🐛 EOF error fixed #80 fixed #80 EOF error while pressed CTRL + D * Update commit author * refactor: 🎨 move argument parser logic to a new file * refactor: 🎨 some unnecessary functions removed * feat: ✨ select and remove stations from favorite list fixes #88 * When you add your radio station from URL, it is assigned the name "N/A". This becomes problematic when you want to record the from the station because the default naming structure is STATION_NAME_FILE_NAME. (#91) In linux you will end up getting directory "N/A" does not exist. This update attempts to get the station name from header 'ICY-Name' from the URL provided Updated custom url name from 'N/A' to 'Custom Station' Changed requests library from 'urllib.request' to 'requests' to get rid of 'Audit url open for permitted schemes' warning Co-authored-by: Marvin Ochieng <[email protected]> * docs: add marvoh as a contributor for code, and bug (#94) * Update README.md * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] --------- Co-authored-by: Dipankar Pal <[email protected]> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * feat: ✨ detect station name while playing with direct url fixes #92 allow record a station played with direct url * update README * fix: 🚑 timeout error introduced on fetching station name * feat: ✨ improve logic for station name detection using ffprobe instead of requests to fetch station name * feat: ✨ dynamic width result page result page will now adjust its width accroding to the actual window size. * feat: ✨ play random stations from result page * feat: ✨ see station info from runtime command * updated * Update README.md * docs: 📝 contribution guide added * feat: ✨ current track information from runtime command * 2.8.1 * README update Signed-off-by: Dipankar Pal <[email protected]> * 2.9.0 Signed-off-by: Dipankar Pal <[email protected]> --------- Signed-off-by: Dipankar Pal <[email protected]> Co-authored-by: John Doe <[email protected]> Co-authored-by: marvoh <[email protected]> Co-authored-by: Marvin Ochieng <[email protected]> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
When you add your radio station from URL, it is assigned the name "N/A". This becomes problematic when you want to record the from the station because the default naming structure is FILE_PATH/STATION_NAME_FILE_NAME.EXT.
In Linux you will end up getting directory "N/A" does not exist.
This update attempts to get the station name from header 'ICY-Name' from the URL provided
Updated custom URL name from 'N/A' to 'Custom Station'