Musify icon indicating copy to clipboard operation
Musify copied to clipboard

Share song option

Open ryanfox1985 opened this issue 3 months ago • 8 comments

Added a new option to share a song with other apps.

Screenshot_20251115-192350 Screenshot_20251115-192359

ryanfox1985 avatar Nov 15 '25 18:11 ryanfox1985

Hi, so it's basically a download feature, which I refused to add just because it sounds pointless + it will have lower volume. Using YouTube-to-MP3 converters makes much more sense than using this feature to save music as a file.

gokadzev avatar Nov 16 '25 10:11 gokadzev

Yep I agree that could be redundant with downloading, I'm trying to learn play music and this share feature saves / make easier to me to share the song with other apps like https://moises.ai or DAW

ryanfox1985 avatar Nov 16 '25 11:11 ryanfox1985

about the quality, I was wondering if there is a better quality than m4a and then the downlading is already using the best quality, isn't?

  • https://github.com/ryanfox1985/Musify/blob/play_playlist/lib/API/musify.dart#L964
  • https://github.com/ryanfox1985/Musify/blob/play_playlist/lib/API/musify.dart#L1114

ryanfox1985 avatar Nov 16 '25 18:11 ryanfox1985

about the quality, I was wondering if there is a better quality than m4a and then the downlading is already using the best quality, isn't?

  • https://github.com/ryanfox1985/Musify/blob/play_playlist/lib/API/musify.dart#L964
  • https://github.com/ryanfox1985/Musify/blob/play_playlist/lib/API/musify.dart#L1114

Just try downloading any songs (since you can modify the code and test on your device), then compare how they (exact same songs) sound in any other local music player app versus how they sound in Musify, so you'll know what I mean.

gokadzev avatar Nov 16 '25 19:11 gokadzev

ok, I checked the codec and bitrate and this YT lib with the public YT API is fetching a poor quality... like mp3 / 128kbps then online sites could give you mp3 / 320 kbps.

online sites what they probably do are:

  • use YT private API.
  • Download video and then extract audio from it.

ryanfox1985 avatar Nov 16 '25 23:11 ryanfox1985

what would do you think in a new option in settings => audio quality like ultra high (high data transfer and processing) and then download the video and extract the audio?

ryanfox1985 avatar Nov 16 '25 23:11 ryanfox1985

what would do you think in a new option in settings => audio quality like ultra high (high data transfer and processing) and then download the video and extract the audio?

FFmpeg used to be a complete headache for me, and as far as I know, there’s no actively maintained library for it right now. If someone else contributes it, it might get merged, but another issue that comes up is the app size, which would increase significantly.

gokadzev avatar Nov 17 '25 09:11 gokadzev

mmm yeah, this option of ffmpeg seems an overkill... I guess the problem is using free services like this YT lib bypassing paid service...

The only alternative to download and parse video in mobile side is to pay YT or use a proxy (but I guess these sites wants to make business with ads too)...

ryanfox1985 avatar Nov 17 '25 16:11 ryanfox1985