As I was digging through the latest build of Google Play Music, I noticed something strange: lots and lots of YouTube stuff. "That's odd," I thought, "What does YouTube have to do with Play Music?"

Oh, right, music videos!

Sure enough, there's some fairly revealing text included, too:

<string name="finding_videos_for_track">Finding related videos for the track...</string>
<string name="no_videos_for_track">No videos found for the track.</string>
<string name="youtube_video_details_hd">%1$s | %2$,d views | HD</string>
<string name="youtube_video_details_nonhd">%1$s | %2$,d views</string>
<string name="youtube_video_duration_hms">%1$02d:%2$02d:%3$02d</string>
<string name="youtube_video_duration_ms">%1$02d:%2$02d</string>

While listening to music, you'll be able to tell Play Music to hunt down the YouTube video for that song. It looks like the video will play in the music app, since there's lots of "video" views and styles in the xml.

<string name="menu_find_video">Find video</string>

There's a "Find Video" menu string for this, so presumably you'll be able to kick into YouTube mode from one of Play Music's million or so menus.


As my esteemed colleague, Mr. Ravenscraft, points out; the desktop version of Play Music already sort-of does this. It will match a Play Music listing to a YouTube video, which you can then share on Google+ (...from your Chrome Laptop, over your Google Fiber connection).

The desktop version doesn't necessarily give a perfect (or official) match, it's basically an easy way to search YouTube. So expect that soon in the Android app.

That's it for this teardown; short and sweet. I'll see you next update!

Ron Amadeo
Ron loves everything related to technology, design, and Google. He always wants to talk about "the big picture" and what's next for Android, and he's not afraid to get knee-deep in an APK for some details. Expect a good eye for detail, lots of research, and some lamenting about how something isn't designed well enough.
  • FrillArtist

    How long do you reckon before WB and Viacom start blocking the videos?

    • james kendall

      im willing to bet this will only search VEVO videos.

  • fatalysis

    Will this give me the ability to create a playlist where I could play both songs and music videos? I've been looking for something that'll do that.

    • http://www.androidpolice.com/author/ron-amadeo/ Ron Amadeo

      I don't think so. This is just a fancy way of searching.

  • http://www.androidpolice.com/author/ron-amadeo/ Ron Amadeo

    Noooo, any information on the music streams could possibly lead to saving the music streams, and that is piracy! Piracy is evil!

    Google goes to decent lengths to hide that stuff. If they didn't, they'd lose their music contracts.

    • http://www.ScienceProUSA.com SciencePro

      I was thinking more in the way of some sort of bandwidth monitor that could be run on the phone while the music is streaming. I guess I'll have to look into that.

      • Cory_S

        I think that's be tough, as it is caching future songs.

        • http://www.ScienceProUSA.com SciencePro

          Yeah, probably. My bitrate OCD will have to calm itself I guess.

  • Michael Pahl

    my guess is 192, 256, and 320 but thats just a guess

    • angel_spain

      Low is probably 80 or 96kbps imho. Anyway you can try to do the math to find out checking your data usage and having in mind that 8kbps=1KB/s.

    • http://www.androidpolice.com/author/cody-toombs/ Cody Toombs

      For practical purposes, those three are pretty close together. I expect that Low is intended for people on poor 3g or edge connections, so 128 seems more fitting. It's better to have mediocre quality than having the music stop and start every 30 seconds. Believe me, I know from current experience.

      I would also be surprised if these tracks weren't variable bit rate. It might make sense for High to be static; but hopefully Low is VBR, just to squeeze every last byte from the transmission.

    • lbrfabio

      Your guess is wrong :-P

      Low= 64kb/s

      On WiFI is always 320kb/s

      On my HTC One S the music is saved is in /sdcard so it's easy to see the latest cached mp3

      • dark_funk

        Ugh. That's why it always sounds like shit when I leave the low or normal bandwidth setting on.

        Why, oh why, can't we get something in the 128 / 160 / 192 range. That's the happy medium, Google. No one wants to listen to music with the highs rolled off like that.

        • lbrfabio

          Remember to close the app if you change the setting. I noticed that if you don't close the app it will stick with the previous bitrate

          Anyway, I bet they will probably set a least 128kb/s for normal

      • jab416171

        They need an "auto" option which adjusts based on your connection speed.

      • Mikel Pr

        is normal normal at all? 22050 should sound like shit (and I don't remember it sounding that bad)

        also I've seen cached ~230kbps mp3 files on High

        • lbrfabio

          they changed it all months ago.
          Normal should be now 128kb/s 44khz, maybe even 160kb/s
          High usually is the original uploaded file. 320kb/s is only when Google recognized the song

  • angel_spain

    If you could make youtube searches within the music app it would be awesome, since I find the youtube app totally useless because it doesn't allow background play.

    • Matthew Fry

      The Google agenda is revealed. No background play in youtube because Music will do it. I guess... maybe... but I'm betting it'll be an all access feature on mobile.

  • brkshr

    MTV sucks now!

    • http://mwinter.in/ Yan Gabriel Minário

      Now? I thought it already sucked a long time ago.

    • QwietStorm

      MTV was good in the 80s and 90s. So if by now, you mean after the turn of the century, then yea.

      • brkshr

        For me, it started sucking shortly after Carson Daily left TRL (I hate that, that sounds like a teenager girl). When they started talking longer than the videos actually played & they started playing 10 or 15 second music clips. So sometime around the beginning of the 2000s.

        Right now, it is just pure garbage! Nothing but old ass shows, like Boy Meets World (WTF!) & dumbass reality shows for idiots.

  • TY

    Hmm...ask Google (staff) directly?

  • Daniel

    I would love this soo much if it let you play YouTube clips in the background too without having to have the song. Like we could use it to play a YouTube playlist etc but just music playing in the background, much like Play Music.

  • Gonadostimulus

    And also "blabla... not allowed in your country. Sorry about that :/"

    • teqnick

      That won't happen with a subscription. The copyright withdrawals apply when some dipshit uploads a music video without the artists permission. Where there's a subscription you'll be watching the official video uploaded by the artist and they'll in turn be paid by Google. Same with country restrictions, the video will be licensed internationally by Google.

  • Mohan

    I was able to do this with my Palm Pre while playing music, nothing new.

  • Russell Wheeler

    Probably off topic, but where are you finding the latest code for Google music? Are you decrypting the apk or is there a public place of the open source code?