haecker-felix / Gradio

GNU General Public License v3.0
326 stars 51 forks source link

Problems with URLs of YLE Radio (from Finland) #36

Closed osmoma closed 8 years ago

osmoma commented 8 years ago

Hello, Thanks for your software. I have problems playing the YLE Radio stations from Finland. The YLE-stations have been added to www.radio-browser.info (country: Finland), and they are searchable and visible in Gradio. But when played, gradio reports a "Not Found" error.

Here are some radio stations (HLS URLs) that play well in Totem (Video) player, but fails in gradio. First, $ wget http://yleuni-f.akamaihd.net/i/yleliveradiohd_2@113879/master.m3u8 Then click on the master.m3u8 file and Totem/Video plays the stream.

Notice: The URL do not play in Totem/Video if added through "Add Web Video" menu. I have filed a bug on https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1608485

Radio YleX HLS URL: http://yleuni-f.akamaihd.net/i/yleliveradiohd_2@113879/master.m3u8 Windows Media URL: http://mediau.yle.fi/liveylex RTSP URL: rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_2_64@113879

Yle Puhe HLS URL: http://yleuni-f.akamaihd.net/i/yleliveradiohd_5@113882/master.m3u8 Windows Media URL: http://mediau.yle.fi/liveradiopuhe RTSP URL: rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_5_64@113882

This official YLE page has more stations (browse down). http://yle.fi/aihe/artikkeli/2014/12/13/radio-ohjelmien-kuuntelu-lataus-ja-tilaus

BTW: Gradio works well with audio-recorder thanks to your correct MPRIS2 implementation. Nice!

haecker-felix commented 8 years ago

Yup. I can reproduce this.

haecker-felix commented 8 years ago

works for me with the latest commit. If still exist, please reopen the issue. thanks.

osmoma commented 8 years ago

Re-hi, Thanks for an awesome, new release of gradio. I still have problems with the Finnish (xxx.m3u8) radio stations. Gradio still reports ^Not found^. I am running Gradio 5.0.0 Beta 1 that is compiled from source. screenshot from 2016-09-25 19-47-47b I am willing to debug this issue.

I am running gradio on Ubuntu 16.10 (daily release). $ lsb_release -a Description: Ubuntu Yakkety Yak (development branch) Release: 16.10 Codename: yakkety

$ valac --version Vala 0.32.1

haecker-felix commented 8 years ago

Confusing... But thanks for your quick answer. I'll look at this.

haecker-felix commented 8 years ago

Confusing... But thanks for your quick answer. I'll look at this.

haecker-felix commented 8 years ago

Not a Gradio bug.

https://github.com/segler-alex/radiobrowser-api/issues/10

osmoma commented 8 years ago

Just for info. Totem and GStreamer now plays the .m3u8 URLs well. Ref: https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1608485

segler-alex commented 7 years ago

i added hls support to the server. the information from the server has an additional hls tag to mark the hls streams.

haecker-felix commented 7 years ago

I can confirm, it is working now. Thanks @segler-alex!

osmoma commented 6 years ago

Hello, I have still this problem on Ubuntu 17.10 with gradio 6.0.2.

Gradio prints this error message: Automatic codec installation is not supported by your distro. Please install "gstreamer | 1.0 | gradio | application/x-hls decoder| decoder-application/x-hls" manually.

screenshot from 2017-11-30 21-48-48

I installed gradio from a snap package on Ubuntu 17.10. Otherwise, many thanks. Gradio is awesome.

attam commented 6 years ago

I have still this problem on Ubuntu 17.10 with gradio 6.0.2.

Gradio prints this error message: Automatic codec installation is not supported by your distro. Please install "gstreamer | 1.0 | gradio | application/x-hls decoder| decoder-application/x-hls" manually.

I have the same problem with a different codec: MPEG-4 AAC Did you solve this? If so, how?

haecker-felix commented 6 years ago

6.0.2 is old. Upgrade Gradio.

attam commented 6 years ago

Thanks for the quick reply. I'm using v 7.1

On Wed, 2 May 2018 at 11:55 Häcker Felix notifications@github.com wrote:

6.0.2 is old. Upgrade Gradio.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/haecker-felix/Gradio/issues/36#issuecomment-386046535, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae7Ikrg9Pvu6uQBwaEaU844Ej0g3lqKoks5tueTkgaJpZM4JY1SF .

osmoma commented 6 years ago

Hello,

I am running version 7.1 using Flatpack. The program works fine but produces a lot of "Couldn't download fragments" errors. The streaming breaks due to errors.

Message: gradio-audio-player.vala:107: Couldn't download fragments Message: gradio-audio-player.vala:108: Fragment downloading has failed consecutive times.

Btw: I like Gradio a lot. Cool program.

$ flatpak run de.haeckerfelix.gradio

Message: gradio-app.vala:192: Gradio 7.1 Message: gradio-app.vala:200: Locale dir: /app/share/locale Message: gradio-app.vala:142: Registered search provider service. Message: gradio-app.vala:135: Desktop session is: ubuntu Message: gradio-library.vala:75: Open database... Message: gradio-library.vala:76: /home/moma/.var/app/de.haeckerfelix.gradio/data/gradio/gradio.db Message: gradio-library.vala:46: Successfully opened database! Reading database data... Message: gradio-main-window.vala:271: Changed page mode to "library" Message: gradio-audio-player.vala:83: Connecting to: http://yleuni-f.akamaihd.net/i/yleliveradiohd_3@113880/master.m3u8 Message: gradio-audio-player.vala:107: Couldn't download fragments Message: gradio-audio-player.vala:108: Fragment downloading has failed consecutive times ... Message: gradio-audio-player.vala:107: Couldn't download fragments ** Message: gradio-audio-player.vala:108: Fragment downloading has failed consecutive times

The same stream in Totem (GNOME`s video) works fine. $ totem http://yleuni-f.akamaihd.net/i/yleliveradiohd_3@113880/master.m3u8

Kindly Osmo (moma) Antero

2018-05-03 4:23 GMT+01:00 attam notifications@github.com:

Thanks for the quick reply. I'm using v 7.1

On Wed, 2 May 2018 at 11:55 Häcker Felix notifications@github.com wrote:

6.0.2 is old. Upgrade Gradio.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/haecker-felix/Gradio/issues/36# issuecomment-386046535, or mute the thread https://github.com/notifications/unsubscribe-auth/ Ae7Ikrg9Pvu6uQBwaEaU844Ej0g3lqKoks5tueTkgaJpZM4JY1SF

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/haecker-felix/Gradio/issues/36#issuecomment-386182499, or mute the thread https://github.com/notifications/unsubscribe-auth/APyzCymtFsCmK9M4WD5e2W9KCXXfFc7Iks5tunhBgaJpZM4JY1SF .

-- Sent from my PC, laptop or phone with Ubuntu-Linux.