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 4.5k 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.
      • D Offline
        domubpkm @s710
        last edited by domubpkm

        @s710 Your link loads directly in Morph-browser and plays fine on my Volla (i'm in last RC).
        screenshot20210715_232404192.png

        Moreover, you can use Webber app to built a webapp with your link : it works fine, i did.
        Don't forget to enable 'avoid app interruption' with UT Tweak Tool app for this webapp.

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

          So there is no audio player app capable of playing? While your suggestion might work, it really sounds pretty much of a cumbersome workaround for something which should just be supported right away by existing apps, no?

          AppLeeA 1 Reply Last reply Reply Quote 0
          • AppLeeA Offline
            AppLee @s710
            last edited by

            @s710
            Nothing "should" because nothing does.
            When iPhone 3 came out they should have supported MMS but didn't :man_shrugging:

            Even more in an open source project. Would it be nice : sure
            Was it done : no

            I bet you're not the first one to have this issue and most people worked around it.
            No one got through the effort to add this feature yet because they probably didn't judge it important...

            The media hub got cleaned up in OTA18, so maybe the work is now easier and you can have a look to either create an app or adding the feature to the music app...

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

              @applee My response was not meant to be offensive, rather curious. I am new to UT, and just need to figure things out.

              AppLeeA 1 Reply Last reply Reply Quote 1
              • AppLeeA Offline
                AppLee @s710
                last edited by

                @s710
                No problem with that.
                My intent was actually to give you hints on how the community works.

                There is a core team that currently works on moving up from 16.04 to 20.04.
                They work on key elements but it's a small crew and they need help from the wider community.

                Sorry if it got lost in translation, but I wanted to say that community members work on this kind of issue ; they see something bothering them, work on it and propose a solution.
                Sometime people don't find an issue annoying enough so they focus on something else.

                The community is here to help you either find a solution to a problem or to guide you through the process of acting on fixing one that is important for you.

                Regarding your issue, the workaround is simple and not that cumbersome... A real fix is welcome but way more difficult to achieve.
                As you know there are many options on formats and streams... so implementing them and make it work with the Media Hub is not an easy task but anyone is welcome to try

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

                  No worries, I'm aware of that. I really just wanted to know what possibilities already exist.
                  I'm a developer, and I started to work on UT apps, so maybe in the future I'll come up with something. Depends on time and energy though, already got a lot of ideas popping up in my head.
                  But for now I'll port my SFOS scooter app to UT, and then lets see.

                  AppLeeA 1 Reply Last reply Reply Quote 1
                  • 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
                                              • First post
                                                Last post