Skip to content
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

problems with the key #237

Closed
ghost opened this issue Apr 18, 2024 · 10 comments
Closed

problems with the key #237

ghost opened this issue Apr 18, 2024 · 10 comments

Comments

@ghost
Copy link

ghost commented Apr 18, 2024

When you try to enter a new radio in the url and name, you need to add 1, but there is no help for 1 and there is no way to write what to do

@ghost ghost changed the title проблемы с клавишей problems with the key Apr 18, 2024
@s-n-g
Copy link
Collaborator

s-n-g commented Apr 18, 2024

Yes, you are so right!
So stupid of me, I forgot to remove some testing code...

For the time being, just add another number (like a "2" or something) and then edit the playlist with a text editor to correct the mistake...

I am so sorry for the inconvenience...

@ghost
Copy link
Author

ghost commented Apr 18, 2024

ok, thanks for the answer, I probably won’t close this topic for now, you can just write later that you’ve fixed it. By the way, thank you for answering questions quickly!

@ghost
Copy link
Author

ghost commented Apr 18, 2024

and I also wanted to know if there is a way to add radio stations to one file so as not to create them in pyradio but to download them

@s-n-g
Copy link
Collaborator

s-n-g commented Apr 18, 2024

I did not understand exactly what you mean, sorry...

Can you please explain in more detail?

@ghost
Copy link
Author

ghost commented Apr 18, 2024

Stupid translator who doesn’t translate properly from Russian to English, okay, I’ll try to explain

Is there any way to add your radio stations to a separate file or to the file where all stations are saved to bypass pyradio itself? I think I explained it correctly

@s-n-g
Copy link
Collaborator

s-n-g commented Apr 18, 2024

no worries, I think I understand you now

what O.S. are you on? (linux, windows, mac)

@ghost
Copy link
Author

ghost commented Apr 18, 2024

Linux, or rather arch Linux, the pyradio-git package itself

@s-n-g
Copy link
Collaborator

s-n-g commented Apr 18, 2024

ok, great

Here's how to create a new playlist:

The output file will be ~/.config/pyradio/new_playlist.csv

cat << END_STRING > ~/.config/pyradio/new_playlist.csv
Station1_name,Station1_URL
Station2_name,Station2_URL
"My blues, rock and slow station",Station_URL
END_STRING

If there is a comma character (,) in a station's name, just enclose it in double quotes (")

And here's how to append new stations in the default playlist

cat << END_STRING >> ~/.config/pyradio/stations.csv
Station1_name,Station1_URL
Station2_name,Station2_URL
"My blues, rock and slow station",Station_URL
END_STRING

Did I get it right?

@ghost
Copy link
Author

ghost commented Apr 18, 2024

yes, thank you very much!

@s-n-g
Copy link
Collaborator

s-n-g commented Apr 18, 2024

fixed in 0.9.3.3

@s-n-g s-n-g closed this as completed Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant