• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Save playcounts/ratings to song counts "when possible"

    Scheduled Pinned Locked Moved
    Technical Help
    tagging playcount rating
    3
    8
    144
    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.
    • Sharky-PIS
      Sharky-PI
      last edited by

      2025-04-11_Strawberry_savePlaycountsRatingsWhen.png

      @jonas please could you explain what this means?

      I've been going through playlists deliberately tagging untagged files for ratings, which should also have been populating the playcounts. I've never manually clicked that "save playcounts now" deep menu button until now, and it seemed to process a huge amount of stuff in the background.

      Is there a way to force writing after each song is finished?

      Am I right in presuming that the last two items mean that any tracks that are moved or altered outside of strawberry, without first saving to tags, would be those tag saves get overwritten?

      Currently there are loads of files I'm 99% sure I rated and have definitely listened to.

      Would be v keen to know how it's possible to ensure everything is saved to files asap.

      Cheers!

      Sharky-PIS jonasJ 2 Replies Last reply Reply Quote 0
      • Sharky-PIS
        Sharky-PI @Sharky-PI
        last edited by

        @jonas ditto sorry to bump but I'd love to find out how this works under the hood, and therefore whether I should change the last two of these settings, and/or should be clicking the button every time I close Strawberry. If these metadata aren't being saved to files in a timely manner then I propose this is a bug or at least a potential point for improvement. Thanks.

        Sharky-PIS 1 Reply Last reply Reply Quote 0
        • Sharky-PIS
          Sharky-PI @Sharky-PI
          last edited by

          @jonas Hi Jonas, any thoughts about this bud? Strawberry definitely isn't saving playcounts and ratings to song tags and they're being lost, which is frustrating because I've been deliberately listening to and ratings tracks, only for many of those ratings to be lost. Cheers for any info you can share, hopefully this will reveal some underlying behaviour which might be possible to improve so the functionality improves. Thanks!

          rlkeeneyR 1 Reply Last reply Reply Quote 0
          • rlkeeneyR
            rlkeeney @Sharky-PI
            last edited by rlkeeney

            @Sharky-PI Strawberry saves the data to the file each time it plays.

            jonasJ 1 Reply Last reply Reply Quote 1
            • jonasJ
              jonas @Sharky-PI
              last edited by

              @Sharky-PI
              It should save playcounts when the song is finished playing when the "Save playcouints to song tags when possible is checked". But there are cases where it could fail, especially on Windows where the file might be locked for writing when it's being played.
              Also, not all formats supports saving playcounts, the ones supported are FLAC, WavPack, APE, Ogg, MP3, MP4 and MPC.
              The option "overwrite database ... when songs are re-read" option allows you to edit rating and playcounts from other program and strawberry normally re-reads them when modified as long as the mtime of the file is changed, without that option it will ignore any changes to the rating or playcount and only keep the one stored in the database.

              1 Reply Last reply Reply Quote 0
              • jonasJ
                jonas @rlkeeney
                last edited by

                @rlkeeney
                It doesn't save last played to the file, only to the database.

                rlkeeneyR 1 Reply Last reply Reply Quote 0
                • rlkeeneyR
                  rlkeeney @jonas
                  last edited by

                  @jonas "date" was a spell check error I didn't catch.

                  Sharky-PIS 1 Reply Last reply Reply Quote 1
                  • Sharky-PIS
                    Sharky-PI @rlkeeney
                    last edited by

                    @rlkeeney @jonas thanks lads, sorry, only just saw these replies.

                    Ok so for MP3 ID3v2.4 I shouldn't need to do anything given I have those 4 options ticked, i.e.:

                    • Once a track has finished playing in Strawberry
                      -- if I've rated it in Strawberry, Strawberry should save the rating to the file
                      -- Strawberry should increment the playcount +1 and save that to the file
                    • If I edit a track externally (for reference, I would only be saving other tag fields, never rating nor playcount) Strawberry will re-read the track... so if I listen to a track in Strawberry, rate it, the track ends and the rating and playcount are updated by Strawberry to the track's ID3, then I change the track's comment externally, Strawberry should subsequently re-read the track's info (when it does a full scan?) and see the updated comment, and the rating & playcount should still be correct?

                    I might need to do some testing on that last one. For some reason it seems I have LOADS of tracks I've definitely played countless times, which have playcount=0, and similarly loads I've played and rated which have blanks for both. In the meantime I've edited various ID3 details for those tracks, but as I understand it, that should never compromise the playcounts and ratings, so it seems something is behaving incorrectly...

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB | Contributors