Showing posts with label artist. Show all posts
Showing posts with label artist. Show all posts

Thursday, 14 July 2016

Htc desire 626s artist photo issue



I have an HTC Desire 626s that I purchased about a year ago, and one thing I love about it more than anything is being able to listen to music on it. I've used 3rd party music player apps on my device before, but I just have always liked the convenience and simplicity of the default player. One thing I must say is that it surprises me by how well it does with recognizing album art and especially, artist photos. Almost every album art and artist photo is automatically updated by the device, and the key thing that upsets me is the *almost* part. There are just so many of the artist photos/album arts that are unrecognized by the app, and that really irks me because I enjoy seeing what the artists look like and viewing the album arts while listening to my music. So what I'm inquiring is this: is there any possible way to have my album arts AND artist photos be visible for all my music, without having to solely depend on an album cover grabber app for both? I learned this trick on my own where I use a cover grabber app to scroll to the latest downloaded album, then set a picture of the artist as the cover art, then the default player would use that cover as the thumbnail, essentially making it a makeshift artist photo. I stopped doing that months ago because it became too confusing and a pain, plus, since they don't save after I eject than reinsert my external SD, it just became pointless. So is there any way to manually set the album art and artist photos for all my music directly on my phone and have them show up in my default player of my HTC desire 626s, while being able to keep them after reinserting the external SD?



Saturday, 2 July 2016

How can I get a string title, artist for what my Chromecast is playing?



Hello everyone!

I like to work with LED signs and other fun display technologies and as much as I love my chromecast audio, sadly it has no way of displaying what it is currently playing. Now I know that this information must be somewhat publicly available because the Chromecast app for android can show me what content is playing from Spotify, even if the session is initiated by another client as you can see here:

(Well I can't post images because I'm a new user, use your imagination to see that I can start playing something from Spotify on another device and I'm still able to get cover art, title and artist name here in this native android chromecast app)

Anyway, I'm having trouble devising a way to fetch this information from the Chromecast, I'd really love to send it to some digital signage so I can keep tabs on what's playing, even if that's just say - a raspberry pi with an old VFD attached. So far I was able to use the node chromecast-cli to grab some rudimentary information from the device when it's playing stuff from Spotify. Here's what I get:


Code:


Komputer$ node chromecast-cli.js --host [IPaddress] status
{ applications:
  [ { appId: 'CC32E753',
      displayName: 'Spotify',
      isIdleScreen: false,
      namespaces: [Object],
      sessionId: 'C6A14255-0DE0-44DE-9A06-BC9D07D33A53',
      statusText: 'Spotify',
      transportId: 'web-3' } ],
  volume:
  { controlType: 'attenuation',
    level: 0.7843137383460999,
    muted: false,
    stepInterval: 0.05000000074505806 } }


so um, most of this status information is painfully redundant, displayName and StatusText are both just 'Spotify' and right now I can't see any useful information about what's playing. So I'm left to assume that the namespaces object is encoded as JSON and potentially contains what I'm looking for, but I'm not sure as to how to actually get it and extract it and put it to good use - or I could be totally wrong and that contains nothing useful. Go figure, but either way I suppose someone here might have the experience needed here to shake this information out of the thing. This might only be pertinent to Spotify, but that's what I use 90% of the time so it's good either way, there might be a more generic string that can be fetched for whatever is playing. Any help would be greatly appreciated!

Thanks in advance!