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

Podbird reignited

Scheduled Pinned Locked Moved App Development
100 Posts 22 Posters 30.9k Views 9 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.
    • G Offline
      geekvine
      last edited by 20 May 2020, 14:19

      I'll be happy to help. Ive been working on a forked version of podbird on and off as a personal project. I do have the sqme concern as another commenter regarding switxhing to git (bzr plugin or not).

      T 1 Reply Last reply 20 May 2020, 14:38 Reply Quote 1
      • T Offline
        theare27 @geekvine
        last edited by 20 May 2020, 14:38

        @geekvine Just out of interest, does your work give you any insights on what's causing the queue to be lost when the app is closed?

        G 1 Reply Last reply 20 May 2020, 14:45 Reply Quote 0
        • G Offline
          geekvine @theare27
          last edited by 20 May 2020, 14:45

          @theare27 I listen to podcasts 40 hours a week so I never close it but i can look into it.

          T 1 Reply Last reply 20 May 2020, 14:49 Reply Quote 1
          • T Offline
            theare27 @geekvine
            last edited by 20 May 2020, 14:49

            @geekvine Restarting the phone also has the same affect for me
            It's not that I'm closing the app on a whim, I often end up having to reboot the phone at least once a day

            1 Reply Last reply Reply Quote 0
            • D Offline
              dobey @alan_g
              last edited by 20 May 2020, 15:40

              @alan_g said in Podbird reignited:

              Is that because he has no current interest in the project and can't be bothered?

              It's more that he hasn't the time to do feature development right now, but is happy to merge things and upload new releases (as he recently did, given the last update in the store is from a month ago).

              G 1 Reply Last reply 20 May 2020, 16:05 Reply Quote 2
              • G Offline
                geekvine @dobey
                last edited by 20 May 2020, 16:05

                @dobey thanks for the info. I'm gonna try to get in touch with him since there seems to be some interest in helping out.

                1 Reply Last reply Reply Quote 2
                • G Offline
                  Giiba
                  last edited by 20 May 2020, 16:08

                  I always figured the queue being lost was a feature that was missing. If it is a bug that can be resolved that would make Podbird complete as far as I am concerned.

                  T 1 Reply Last reply 20 May 2020, 17:21 Reply Quote 0
                  • T Offline
                    theare27 @Giiba
                    last edited by 20 May 2020, 17:21

                    @Giiba I've been poking around the code a bit this afternoon. I'm a web developer not an OS / native apps guy so I could be way off, but it certainly looked to me as if clearQueue (which deletes everything from the Queue table) is being called when the app exits

                    If that's the case, I wonder if that could be tweaked so that it could be controlled from the conf file

                    a clearQueueOnExit boolean flag

                    But like I said, I could be misunderstanding the code

                    G 1 Reply Last reply 20 May 2020, 19:30 Reply Quote 2
                    • G Offline
                      Giiba @theare27
                      last edited by 20 May 2020, 19:30

                      @theare27 better than I!

                      I once poked around the code and all of it meant nothing to me.

                      1 Reply Last reply Reply Quote 2
                      • T Offline
                        theare27
                        last edited by 20 May 2020, 19:47

                        Podcasts.clearQueue() is called as part of Component.onDestruction which I'm assuming is on app closure

                        J C 2 Replies Last reply 20 May 2020, 20:44 Reply Quote 1
                        • J Offline
                          jezek @theare27
                          last edited by 20 May 2020, 20:44

                          @theare27 try to comment it out, what happens (or not happens) πŸ˜„

                          jEzEk

                          A 1 Reply Last reply 20 May 2020, 21:38 Reply Quote 0
                          • C Offline
                            CiberSheep @theare27
                            last edited by CiberSheep 20 May 2020, 21:06

                            @theare27 said in Podbird reignited:

                            Podcasts.clearQueue() is called as part of Component.onDestruction which I'm assuming is on app closure

                            Pretty sure that is to clear the queue of episodes that you can pile.

                            The position of the episode is stored in the db

                            Position (even if it looks to jump) is stored and retrieved, so I suspect that might be a change in the Media-hub. We started experimenting position lost when moved to Xenial
                            https://paste.ubuntu.com/p/4VqqDpG64c/

                            Another planet, another time, another universe!

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              arubislander @jezek
                              last edited by 20 May 2020, 21:38

                              @jezek
                              Commenting it out keeps the entries in the Queue database, but extra code is needed in the Component.onCompleted to populate the playlist with the entries:

                                      db.transaction(function(tx) {
                                          // Rebuild queue in order
                                          var rs = tx.executeSql("SELECT url FROM Queue ORDER BY ind ASC")
                              
                                          for (var i=0; i<rs.rows.length; i++) {
                                              player.playlist.addItem(rs.rows.item(i).url)
                                          }
                                      })
                              

                              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                              Happily running Ubuntu Touch
                              Google Pixel 3a (20.04 DEV)
                              JingPad (24.04 preview)
                              Meizu Pro 5 (16.04 DEV)

                              T 1 Reply Last reply 21 May 2020, 13:39 Reply Quote 2
                              • T Offline
                                TartanSpartan @TartanSpartan
                                last edited by 21 May 2020, 00:16

                                @TartanSpartan said in Podbird reignited:

                                I believe the progression from the Vivid to the Xenial build introduced a regression wherein you used to be able to have your place in an episode automatically saved when the app closed, but now no longer. Shall test this theory on my new M10 (with Vivid) later.

                                Definitively confirmed.

                                T 1 Reply Last reply 21 May 2020, 11:26 Reply Quote 1
                                • T Offline
                                  theare27 @TartanSpartan
                                  last edited by 21 May 2020, 11:26

                                  @TartanSpartan
                                  Not saying it's not a problem external to the application - could well be

                                  But when the app exits the Queue table in the app's SQLite database is cleared - everything is deleted from that table

                                  Data in other tables - like the Podcast one that holds the subscriptions persist so it would certainly seem like clearing out the queue on app exit is a deliberate action that's triggered somewhere

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    theare27 @arubislander
                                    last edited by 21 May 2020, 13:39

                                    @arubislander And there's also no way to get back to the "now playing" screen after the app is restated without starting to play a file - which in itself would wipe the previous queue

                                    Would it be possible to add a "Now Playing" entry to the hamburger menu so that one can get back to where they were

                                    Like you say, stopping the queue from being wiped out is only half the problem

                                    1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      geekvine
                                      last edited by 21 May 2020, 16:16

                                      I have uploaded my fork to gitlab as a private repo. If the original devs end up being cool with it, I'll mark it public and post a link.

                                      T 1 Reply Last reply 21 May 2020, 16:56 Reply Quote 2
                                      • T Offline
                                        theare27 @geekvine
                                        last edited by 21 May 2020, 16:56

                                        @geekvine yes please, happy to test
                                        I must admit this podcast business has me on the verge of going back to Android

                                        Playback stopped randomly for me this morning in the middle of a podcast. Wouldn't play anything. So then I have to reboot & I've lost my queue and my position.. again

                                        It probably wasn't podbird's fault that the sound system stopped & I really don't mind the occasional need to reboot, but loosing where I am continually is exasperating

                                        A 1 Reply Last reply 21 May 2020, 19:07 Reply Quote 0
                                        • A Offline
                                          arubislander @theare27
                                          last edited by 21 May 2020, 19:07

                                          @theare27 There are two separate issues here:

                                          1. The queue gets cleared when the app is closed
                                          2. The position in the currently playing podcast is not preserved when the app is exited.

                                          #1 is easily solved.
                                          #2 needs more investigation.

                                          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                          Happily running Ubuntu Touch
                                          Google Pixel 3a (20.04 DEV)
                                          JingPad (24.04 preview)
                                          Meizu Pro 5 (16.04 DEV)

                                          1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            danqo6
                                            last edited by 21 May 2020, 20:09

                                            Hello guys, I recently implemented importing podcast with OPML file (I was migrating from android so needed that feature πŸ˜„ ). It was only one day effort, but I am willing to help more. Here are some issues for the next milestone. Main issue for me is still this, it can be really anoying.

                                            T 1 Reply Last reply 23 May 2020, 09:05 Reply Quote 2
                                            23 out of 100
                                            • First post
                                              23/100
                                              Last post