Live data from Hacker News

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

tannerv.com

131–140 of 160 posts

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

#131
post #98

I would like to complain about the game of Brick that refuses to award me a victory despite clearing away all the bricks. Can I get my money back please?

Also, it always bounces at the same angle regardless of where it bounced on the paddle, which makes it really long and boring. The lack of payoff is even more annoying.

It also doesn't properly reset if you leave and come back. It seems to set the reset flag, then once the ball goes in, then it resets.

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

#134

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 :)

Part of what makes it feel so good is that it keeps tracking if your finger goes outside of the actual wheel. This mimics the fact that you could keep your finger in the physical wheel by feeling the edges

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

#135
post #92

Earlier quoted context omitted.

Do you have to have the watch with LTE, or does it actually cache music locally?

As far as I know, only apple music saves it locally but spotify and others can stream if you have LTE. I believe this is just a hold up from spotify and the apis are available though.

As of about a month ago, Spotify can download content to watch too.

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

#136

Weird question, but is it safe to sign into my Apple account via some random novelty app like this? What's the worst a bad actor could do?

It uses an OAuth flow so you're actually entering your credentials on https://authorize.music.apple.com/ which gives this developer a token to access your data (usually a limited subset of your data. I know on the Spotify OAuth screen it tells you exactly what data, not sure about Apple Music)

So if your token gets hijacked then the bad actor would probably be able to view your playlists and listen to your music.

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

#137
post #33

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 :)

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.

Still use mine on an old one that accept the older iPod interface for music playing. Not all songs go into it though.

For the player I wonder whether I can trust it fir the access to my iphone account. Or Spotify.

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

#138

Earlier quoted context omitted.

"Sadly, this only works on Chrome Desktop" when clicking the sign in to Spotify on my iPhone. definitely doesn't have that "it just works feel" in that regard. However, driving the click wheel is fun. I did instinctively click on the buttons that would pop up in the menu by clicking them directly the first time rather than spinning the wheel to get to them. Just shows how much more powerful the touch screen is.

I have to admit, this was first time I've considered trialing Apple Music after being a longtime Spotify customer. Lack of browser support in a Spotify Web API providing free advertising for Apple Music. The irony!

Hmm, it works on firefox desktop on my end. Maybe they just doesn't support safari?

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

#140
post #58
post #44

Earlier quoted context omitted.

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…

> Simpler than one might think > ... you just need to quantize the angle ... look at the event stream ... and take the sign of the pairwise difference This is harder than I thought

> quantize the angle

Round the angle quite severely. E.g. if using 10 degree steps you'd round anything below 5 degrees to 0 degrees, and anything above to 10 degrees. Anything above 15 would get rounded to 20, and so on.

> look at the event stream

Look at the last two directions the above procedure generated.

> and take the sign of the pairwise difference

If the new angle is higher it's a counterclockwise motion. If the new angle is lower it's a clockwise motion. Do some special handling if the angle wraps around from 350 to 0 degrees or vice versa.

Post reply on HN