listenonrepeat.com was up for years until last month, when it mysteriously went offline. I haven’t found any sites like it. I could just paste in a youtube link and have it play right away, and choose the start and end times for looping, and it had a count for how many times you played the song, as well viewing history (with start & end times saved) so you could easily listen to previous songs.

  • sin_free_for_00_days@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 days ago

    If you know any scripting, that would be pretty easy to code up something. Simple enough that I would just make a bash script and use it.

    yt-dlp <-- download file

    ffmpeg <-- trim the file if you want to change start/end times

    mpv <— or whatever to play file

    printf or echo <-- throw the stats into a data file

    Then you could run whatever you want on your data file (sort/uniq/awk/etc) to get bespoke stats, most played, latest <n> played, etc.

    Otherwise, something like https://agrahn.gitlab.io/ABLoopPlayer/ gets you some of what you want, and seems to be able to export some of the info into a json file.

    • frongt@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 days ago

      Yup. The site probably went offline because the owner didn’t want to keep up with YouTube’s changing APIs.

    • rowinxavier@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 days ago

      Another option is to download then open with VLC and use the loop function to select what needs to repeat.

      • sin_free_for_00_days@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 days ago

        Yeah, mpv or whatever media player. Most players can do an a-b loop. But if that’s all, then you’re missing on the historical stats stuff OP mentioned.