I just got tired of being asked for premium to keep the songs on the playlist going.

So I created a Firefox add-on for my Android phone and it works fine for me, so should anyone be interested, try it and if there are issues let me know.

It keeps YouTube and YouTube Music playing when you switch to another app or go to the home screen, and it moves your playlist or mix on to the next video or song.

It’s free and open source (MIT), doesn’t track you and needs no account. The code is here if you want to check: https://github.com/lagudafuadtosin/plays-on

Add-on: https://addons.mozilla.org/firefox/addon/plays-on/

  • TheTechnician27@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    7 days ago

    I made

    Looking at the commit history, you made fuck-all. You literally just forked Video Background Play Fix, gave it a “New name, id and icon”, and nothing else.

    Your only two commits are here changing the names etc. and here, allegedly fixing a single bug.

    You didn’t make shit, OP. Fuck off. I didn’t think there was anything more insulting than “I made this” when it’s just unmaintainable, dead-end trash spun up with Claude in two hours, but here we are.

    I was completely wrong. I’m a fucking idiot and had no right to be aggressive like this. Please see @woelkchen@lemmy.world’s comment below. This fork serves to fix something that Video Background Play Fix didn’t. And it doesn’t seem like the original project is merging any PRs, so a fork seems reasonable.

    • woelkchen@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      7 days ago

      You literally just forked Video Background Play Fix, gave it a “New name, id and icon”, and nothing else.

      Did we look at the same diff? https://github.com/lagudafuadtosin/plays-on/commit/95aed0ca49074f2477aa597038346ad8e885686f clearly has functional changes. Scroll past breaking the various translations and you’ll see some changes in video-bg-play-content.js:

      I can’t tell you if this extension actually works but Video Background Play Fix did not work for playlists for me in the past (that was before I discovered Vanced).

      • TheTechnician27@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 days ago

        Ah craaaaaaaap. No, all I saw is removing the support for Vimeo and changing the names etc., and I didn’t understand that VBPF didn’t work for playlists, hence the rationale behind a fork. I didn’t look through the whole commit; I think my eyes just glazed over after reading all the branding changes and seeing Vimeo support dropped.

        When I read:

        Separate add-on built on Video Background Play Fix (MIT) by Timothy Guan-tin Chien and Jan Henning. New name, id and icon. With Firefox for Android in the background, YouTube moves to the next video but never starts it; a watchdog calls the player’s playVideo() when it is stuck. Tested on a Galaxy A14 with Firefox 157. Vimeo removed (untested).

        I saw:

        • “Separate add-on.” So it’s a fork.
        • “New name, id and icon.” So changing the branding.
        • “With Firefox for Android in the background, YouTube moves to the next video but never starts it.” As someone who uses NewPipe, I mistook this as one of the base problems VBPF was addressing and this as just reiterating what the extension is doing. I don’t know how, because rereading it, that doesn’t make any sense, but that’s how I read it at the time.

        @lagudafuad@lemmy.world, I owe you a serious apology. There’s no reason I should’ve been this careless, especially when I was so aggressive. I’ve downvoted my own comments and will be amending them.

    • TheTechnician27@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      7 days ago

      See my comment below. It isn’t – literally, it is not.

      It fixes a major problem with how playlists are handled (i.e., they don’t work in Video Background Play Fix). I’m a careless fucking idiot.

    • cRazi_man
      link
      fedilink
      arrow-up
      2
      ·
      7 days ago

      Or NewPipe, or Widestream, or Kreate, or Vivi, or N-Zik. There must be a hundred YouTube music players on F-droid.

  • THE_GR8_MIKE@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 days ago

    And here I was using an auto clicker in the search bar on PC. Pirated premium also works because those apps let you customize every tiny little microscopic part of the app.