UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Audioplayer / internet stream / webradio

    Scheduled Pinned Locked Moved Solved Support
    25 Posts 5 Posters 5.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • AppLeeA Offline
        AppLee @s710
        last edited by

        @s710 said in Audioplayer / internet stream / webradio:

        But for now I'll port my SFOS scooter app to UT, and then lets see.

        Great I guess that will be a good start to learn the specifics about UT.
        There is a Telegram channel for developer in case you need some help or pointers.
        The documentation is great :
        https://docs.ubports.com/en/latest/appdev/index.html

        And you can always post to the forum in the "App Development" category.

        Welcome and I hope you'll thrive among us.

        1 Reply Last reply Reply Quote 0
        • D Offline
          domubpkm
          last edited by

          I'm not used to listening to music using stream URLs.
          How, for example, can I find the stream URL of this station (internet link)?
          https://www.groovewave.com/lovesoul/lovesoul1.htm

          Is there a good search engine on the internet for radio stream links?
          Thanks

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            domubpkm @domubpkm
            last edited by domubpkm

            @domubpkm
            I have found how to find Url stream with firefox : click on the lock (secure groovewave website)/more info/media/audio line

            https://ssl.srvstm.com:8916/;

            1 Reply Last reply Reply Quote 0
            • C Offline
              cj_c
              last edited by cj_c

              @domubpkm

              This site has a good list of radio stations:

              www.radio-browser.info

              Chris C

              1 Reply Last reply Reply Quote 1
              • s710S Offline
                s710
                last edited by

                So this is what I could come up with:

                https://open-store.io/app/radio.s710

                Unfortunately, on Ubuntu Touch, the mediaplay does not report any meta data. Therefore its not possible to display the current song title.
                It would work on desktop, but not on UT.

                When running on the phone, there would be warnings like this:

                [WW 2021-07-30 14:04:23.912965] [codec.h:148@decode_argument] Unknown metadata key "xesam:genre" while decoding dbus message
                [WW 2021-07-30 14:04:23.913063] [codec.h:148@decode_argument] Unknown metadata key "xesam:title" while decoding dbus message
                

                Which leads me to believe its a restriction on UT currently. What a pity.

                D 2 Replies Last reply Reply Quote 0
                • D Offline
                  domubpkm @s710
                  last edited by domubpkm

                  @s710 for info https://github.com/wdehoog/shoutcast-ut/issues/20
                  But THANK YOU for your app !

                  EDIT : V 1 quickly said, not open bug report, only one station can be kept (only tested manually added) as favorite. The second one does not register or erases the first one (Volla, BQ E5 HD).

                  s710S 1 Reply Last reply Reply Quote 0
                  • s710S Offline
                    s710 @domubpkm
                    last edited by

                    @domubpkm added via search or manually?

                    D 2 Replies Last reply Reply Quote 0
                    • D Offline
                      domubpkm @s710
                      last edited by

                      @s710 I said before 😉 : manually url added (but i tested only that, no tested search).

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        domubpkm @s710
                        last edited by

                        @s710 added via search work

                        s710S 1 Reply Last reply Reply Quote 0
                        • s710S Offline
                          s710 @domubpkm
                          last edited by

                          @domubpkm well when adding manually, the unique ID of the station will be a hash of the URL. In case you try to add the same URL twice, it would not work. Maybe thats the problem?

                          D C 2 Replies Last reply Reply Quote 0
                          • D Offline
                            domubpkm @s710
                            last edited by

                            @s710 I don't know the problem. The best thing is that you try with different stations as it is more easy to see than to explain.. Two stations can't be manually added as favourites indeed but i noticed if i close and open the app, the last radio station manually added entered as a potential favourite take the place of the first favourite manually added... I stop to explain...🙂🙂

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              cliffcoggin @s710
                              last edited by

                              @s710 Thanks for the application. I was able to store three stations from search. (I did not try more than that.) Oddly, delete was swipe to the left rather than right.

                              s710S 2 Replies Last reply Reply Quote 0
                              • s710S Offline
                                s710 @cliffcoggin
                                last edited by

                                @cliffcoggin what do you mean with swipe left rather than right?

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  domubpkm @s710
                                  last edited by

                                  @s710 said in Audioplayer / internet stream / webradio:

                                  its not possible to display the current song title.

                                  Workaround :
                                  screenshot20210731_092214000.png

                                  1 Reply Last reply Reply Quote 0
                                  • s710S Offline
                                    s710 @cliffcoggin
                                    last edited by

                                    @cliffcoggin Okay I see, as per https://phone.docs.ubuntu.com/en/apps/design/building-blocks/list-items#actions the delete action should be when swiping from left to right.
                                    Coming from iOS (where its the other way round), I just didn't know this 🙂

                                    I have published v1.1 which switches positions, delete is now swipe to right.

                                    Also the manual stream favourite saving had a typo, thanks to @domubpkm for reporting, its also fixed.

                                    And thanks to @Vistaus who translates almost faster than I can publish 😄

                                    C 1 Reply Last reply Reply Quote 1
                                    • C Offline
                                      cliffcoggin @s710
                                      last edited by

                                      @s710 Blimey, that was quick. Well done.

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        domubpkm
                                        last edited by

                                        @s710 Manuall stream favourite saving works fine now. Thanks.
                                        Small suggestion: make the icons of the manually added stations, editable, so that we can choose them later.

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          domubpkm
                                          last edited by domubpkm

                                          Radio seems to be broken for searching and adding new stations and this, i don't know since when.
                                          https://github.com/patrickjane/ut-radio/issues/12

                                          1 Reply Last reply Reply Quote 0
                                          • J janmv referenced this topic on
                                          • First post
                                            Last post