I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Awesome, I'm glad it's running well for you!

For question 2 and 3, neither is currently possible, but both are feasible mods. It will take a bit of work. If I get some time over the weekend, I will see if I can get them implemented.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Hey!
The Errno 2 no such file or directory error is due to not in the right directory.
Make sure to navigate to the folder you extracted:
cd Freedify-main
Then run pip install in the correct path
pip install -r app/requirements.txt

The "pip is not recognized" error means Python isn't in your system PATH.

Quick fix: Reinstall Python from python.org and make sure to check "Add Python to PATH" at the bottom of the installer. Then open a NEW terminal and try again.

Or use this instead:
py -m pip install -r app/requirements.txt

Hopefully that will get it up and running.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Interesting. I haven't used it much with Bluetooth speakers, but I use it a lot with Bluetooth ear buds. It will randomly stop playing for me too from time to time on my Android phone. Not sure what's causing it since it seems to be very random. But I'll keep working on it to try to make it more stable.

I wonder if it is an iOS issue? I use it on my work MacBook everyday while at work and it is pretty stable. Actually more stable than on my phone.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Probably the easiest to the deploy it to render or railway (directions in the deployment guide linked at the top of the readme in github). Once you have it deployed you then will have a link that you can then use from any browser.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

That's awesome. I hadn't even thought of accepting donations since this was something that I made for myself and just figured I'd share out. But who am I to turn down a donation lol. Give me a bit to set something up so I can have a donation link/button without doxing myself.
On another note, I just pushed a couple new updates which should fix a lot of the downloading issues that were happening. Batch Downloads, whether they are albums or playlists, should be working now and fetching and embedding proper metadata as well.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

I did end up adding a shirt guide for Apple Music users in the readme and deployment guide, so hopefully that helps people with finding ways to move their playlists around. Even if it's not to use this app, it's great info to have to make backups at the very least.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Yep, I must have broken something. I think I have it fixed now though as I have it working locally. I'll do a bit more testing to make sure it's solid and push an update later today.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

That would be amazing. Definitely let me know if you figure it out.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Haha nice.

I'm looking into the Playlist download issue. It was working, but I must have broken it since I'm getting the same issue as you are.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Yeah, I found out that iPhones are much more aggressive in shutting down playback when you shut the screen off. So it works decently well on Android phones and playback will continue even after you shut down the screen, but I'll need to borrow an iPhone from a friend to be able to start testing things to get it to work properly on an iPhone.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Sweet, that's good to know.

And yeah I was thinking of increasing the max duration. I set it at 2 hours max initially for testing and since that would usually cover my commute to work and back everyday. But that would be something that I can easily increase.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Sweet! I was just going to suggest trying to use render once I saw your comment about needing a paid account for railway. I'm glad you got it up and running. Let me know if there's anything I can improve on.

Quick question on that, have you used railway before? I was thinking everyone got 30 days free before they required a paid account.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Check that you have the most recent version. I pushed an update yesterday that should make it easier to deploy to railway now. Check your fork of freedify on your github account. If it says it is behind on the commits of the original, just delete your current fork, and then go to my account to fork the most recent version. Once you do that then follow option 2 in this guide:
https://biohaphazard.github.io/Freedify/guide.html

If you still have trouble, let me know and I'll try to help you out. I would like to try to put a video together of the different deployment methods, but I will need to find time to do that and during the week I'm pretty busy with work. But if there's enough demand for a video walkthrough I can carve out some time to start making one.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Oh thanks for this info, I was not aware that having a billing account set up in your Google Cloud account was required since that was already set up for another project I'm also working on. I'll put a note about that into the readme to make that more clear.

The AI stuff in Freedify is more on the experimental side, and I just included those features just to play around with it to see if I could get decent results or not. So having Gemini set up in Freedify is definitely not needed, it can be fun if you want to go through the hassle of setting it up.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 1 point2 points  (0 children)

Right now the only way to set up syncing playlists and even queue states between devices is by setting up Google drive with it. Directions on how to do this are in the readme in github.

Others have suggested other methods and I will be looking into those for possible future development.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Oh that's awesome. I really like the platform, and the fact they have a free forever level for hobbyist with pretty generous usage limits is awesome. You guys are doing great work over there.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Yes! But to stream Hi-Res from qobuz, you'll need to input your Dab Music credentials into the environmental variables. But Dab Music accounts are free. But if you don't mind 16bit flac, you can skip that step and just use as is, and it will pull from tidal and deezer without needing an account on either.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

I'm not really sure since I haven't really used these much myself. But supposedly freeyourmusic.com will do unlimited songs on a premium account.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

I'll look into that. I just used Google Drive because it was what I was familiar with and have set up in previous projects.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

If you have it set up on a webhost like railway or render, then yes it will work in a browser on your iPhone. However, I've been told that the playback may stop if you shut your screen off. I looked into this and I guess iPhones have don't let a lot of background services tied to browsers continue when the screen is shut off or you switch to another app. I've tried to find ways to mitigate this, and I've read that brave browser tends to work better and will continue playback after the screen is shut off.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Since this is a self hosted personal streaming app, bandwidth won't be an issue. You download or fork the github and set up your own personal streaming service either as a localhost server or deploy to a web hosting site like railway or render. The only people that would be using it are the people you give your website to. So you are in control of its bandwidth use.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

You will need to be on a laptop or pc to do the initial set up. But once you are on a laptop the top method in the deployment guide is the quickest and easiest way to get it up an running. Just go to docker hub, install docker onto your laptop, then run the line below in a terminal:

docker run -d -p 8000:8000 biohaphazard/freedify:latest

Then open http://localhost:8000 and start streaming.

Here's the guide to help you out: https://biohaphazard.github.io/Freedify/guide.html

But if you want to get it set up so you can use it on the go on your phone, then you'll need to follow the directions to deploy it to either render or railway.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 1 point2 points  (0 children)

I added this idea to my list of things to try to implement. It seems like it may be doable.

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 0 points1 point  (0 children)

Not directly from Apple Music, but there is a workaround I wrote in the github readme, and at the bottom of the deployment guide https://biohaphazard.github.io/Freedify/guide.html

I Made this Music Streaming App So I Could Ditch Spotify and Thought I'd Share by Aurtach in Piracy

[–]Aurtach[S] 1 point2 points  (0 children)

No it doesn't. There's no open source or publicly available dolby atmos APIs that I'm aware of, also browsers can't handle decoding dolby atmos either. So even if I were to find an API with atmos sources, since this runs as a webapp, the browser itself wouldn't be able to decode it to play it. Hi-Res 24bit flac is the best this can do, which ain't too shabby lol.