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

    Estimate size when copying to a device

    Scheduled Pinned Locked Moved Development
    3 Posts 3 Posters 2.2k Views 1 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.
    • E
      etyloppihacilem
      last edited by

      Hi, I recently encountered a problem when trying to copy music to a 80Gb iPod. My library is 180Gb Flac, and when copying, I transcode the music to 192 kbit/s mp3, for a total of 60Gb approx. I am planning on addressing the issue by estimating the copy size considering the transcode settings, but I have some questions.

      I have found that the OrganizeDialog prompts the user about copy and conversion, but does not estimate size after transcription ; it only sums up the size of each file that will be copied, resulting of the "OK" button being disabled because size is greater than space available on device.

      The size estimation takes place in the SetSong method of OrganizeDialog, and I figured that I could use the settings of each Transcoder/xxx to get the target bitrate needed to estimate the transcoded size...

      I did not get yet how to determine the device specific settings that will determine if the file will be transcoded or just copied, and was wondering if anyone had any developper doc or any clue of how I could get this information. If you have any general contributing tips lmk.

      I figured this post was more a development one than a feature request as I plan to contribute once I figure this out.

      jonasJ S 2 Replies Last reply
      Reply Quote 1
      • jonasJ
        jonas @etyloppihacilem
        last edited by

        @etyloppihacilem

        https://github.com/strawberrymusicplayer/strawberry/blob/07e295776b0b3dc32f1af9b1d4941f8c5e9c4887/src/organize/organize.cpp#L205

        1 Reply Last reply
        Reply Quote 1
        • S
          synth_mania @etyloppihacilem
          last edited by

          @etyloppihacilem I'm wondering if we potentially ran into the same problem. See my post.

          https://forum.strawberrymusicplayer.org/topic/5712/transfer-to-a-device-configured-with-transcoding-to-a-compressed-format-is-useless

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Powered by NodeBB | Contributors