Live data from Hacker News

Show HN: iPod.js – An online iPod that connects to Spotify and Apple Music

tannerv.com

61–70 of 160 posts

Re: Show HN: iPod.js – An online iPod that connects to Spotify and Apple Music

#61

Firefox appears to be blocking Cross Origins Requests so cannot actually successfully sign-in: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://apresolve.spotify.com/?type=dealer&type=spclient . (Reason: CORS request did not succeed).

That's also the message you get when a content blocker blocks a request. Could be uBlock Origin or tracking protection, probably not CORS.

Re: Show HN: iPod.js – An online iPod that connects to Spotify and Apple Music

#62

This is really cool. It’s amazing how “realistic” the clickwheel feels—it instantly transported me back to actually using an iPod. Also, there’s something poetic about emulating the clickwheel on the interface that replaced it :)

Is the click wheel "feel" experience only on iOS? I don't get any haptic feedback on Android

No vibration feedback on Android, something like navigator.vibrate(...) can be used for that [1]

[1] https://developer.mozilla.org/en-US/docs/Web/API/Navigator/v... or https://googlechrome.github.io/samples/vibration/

Re: Show HN: iPod.js – An online iPod that connects to Spotify and Apple Music

#63

Earlier quoted context omitted.

I don't feel the click haptic feedback on iOS with iPhone 12

No, no haptic feedback for me either. It would be interesting to try, but honestly it might make it feel more gimmicky if not done perfectly.

Depends on the phone, high-end phones (iPhone obviously, but also Samsung S XYZ, et al.) have quite good "vibration" these days, since it is produced by more sophisticated mechanism [1] than just rotating motor.

[1] https://www.ifixit.com/News/16768/apple-taptic-engine-haptic...

Re: Show HN: iPod.js – An online iPod that connects to Spotify and Apple Music

#64

Earlier quoted context omitted.

I don’t see why not. There’s an official web version at music.apple.com. They probably prevent multiple simultaneous streams on the same account at the same time though.

I found out it actually allows me to play on the same account on two separate devices. The official apple music apps reliably stop my attempts to abuse my one person membership. Maybe this means that authorised applications aren't checked as thoroughly for this.

Ssh, Apple engineers are silently reading along!

Re: Show HN: iPod.js – An online iPod that connects to Spotify and Apple Music

#65
post #12

Where’s the back button? - took me half a second to dust off memories. Also it’s uncannily snappy compared to how I remember it!

Might be because I never owned one myself, but I've always felt the interface incredibly clunky and the navigation hard to grasp. It's not something intuitive you know how to use just by looking at it.

Re: Show HN: iPod.js – An online iPod that connects to Spotify and Apple Music

#66
post #33

Earlier quoted context omitted.

I still have my original iPods. The original and the mini chromatic ones. When I'm on the go and or in a gym and I need to play music, nothing beats a simple mp3 player. Don't want the bulk of the phone. Don't want to have to touch a phone screen and engage with it. I'd rather just reach into my pocket and press buttons.

I think smartwatches fill that niche now - at least those models with physical buttons. I'm actually impressed by how ergonomic the music listening experience on my Garmin is.

I don’t like wearing a watch So for me the MP3 player is still great

Re: Show HN: iPod.js – An online iPod that connects to Spotify and Apple Music

#67
Whilst it looks nice, is no one else concerned with passing details to some unknown site? It doesn't seem to have any direct way to make contact nor is there a privacy policy (nor is there anything obviously relevant in the GitHub repo for the code either)

Re: Show HN: iPod.js – An online iPod that connects to Spotify and Apple Music

#68
post #44
post #18

How do you even get the _feel_ of the device so right? I'm perplexed, such a great project. I started using it unironically to play music, I'd totally pay for a Mac/iOS app haha.

Simpler than one might think - once you do the math to project each touch/mouse event down to an angle, you just need to quantize the angle to a certain number of discrete options (which you can measure on an actual device), look at the event stream of such angle events pairwise, and take the sign of the pairwise difference as right/left or up/down! The much harder part when designing the iPods themselves was to buil…

"just" haha

Re: Show HN: iPod.js – An online iPod that connects to Spotify and Apple Music

#69
Maybe a bit of a dumb question, but how can one be sure that this doesn't steal my credentials when logging in with spotify? It's open source, so I guess someone would probably have figured it out if it did by now, but is there a way to be sure or is it even possible?

Re: Show HN: iPod.js – An online iPod that connects to Spotify and Apple Music

#70

Maybe a bit of a dumb question, but how can one be sure that this doesn't steal my credentials when logging in with spotify? It's open source, so I guess someone would probably have figured it out if it did by now, but is there a way to be sure or is it even possible?

how can you be sure that any web site asking for google authentication doesn't "steal" your goolge data?

The reason is because of a protocol called Oath2.

Post reply on HN