Ubuntu: Enabling Media Keys for google play music - google-play

so recently i switched from spotify to google play music
with spotify ubuntu app there was this tricks to kind of proxy keyboard media shortcuts to be used for spotify too
since google hasn't made an official desktop app for music is there a way to send these signals to the play music tab in the browser ?
I've found this unofficial desktop version, same question for this app would be asked but i doubt answer would be different from the original question.

since google hasn't made an official desktop app for music is there a way to send these signals to the play music tab in the browser ?
No. You would need a browser extension.

Related

How to open Apple Music (iTunes) links in new Music app (MacOS Catalina)

I have a web app that uses the MusicKitJS together with Apple Music's API to display information about music releases. The behaviour since MacOS Catalina has changed due to the introduction of the Music app and removal of iTunes. Links like this one, that did open the album in iTunes, don't open in the Music App:
https://music.apple.com/us/album/incredible-vice-ep/1491161925
I've done some digging on the above URL's page source, and noticed that if the https:// is replaced with itmss://, then the album does open in the Music app:
itmss://music.apple.com/us/album/incredible-vice-ep/1491161925
However, the behaviour seems to be broken:
If the Music app is already open on the machine, then the clicking the above link from a browser will put the focus on the Music app, and then properly redirect to the relevant album.
If the Music app isn't already open, then clicking the above link from a browser will launch the Music app, but it doesn't redirect to the relevant album.
Is there a way to both open the Music app if it isn't already open, and open the relevant album inside the app?
You should use the musics:// scheme and add app=itunes as query parameter.
Taking your example this would result in:
musics://music.apple.com/us/album/incredible-vice-ep/1491161925?app=itunes

Connect google assistant with chromecast( like netflix)

Is that possible to connect google assistant with chromecast like netflix.
suppose i have already developed an app for google assistant, app name is test and suppose i have something in the test app to show like report.
Is this possible that,I would say hey google, show report then. It should automatically search chromecast devices nearby and connect to near by chromecast device then show the report on that connected chromecast device.
Yes, this is possible. Since August 2018, voice commands officially work with the following apps:
Netflix
CW
CBS All Access
HBO Now
YouTube
YouTube TV
Viki
Crackle
Red Bull
Starz
Google Play Movies & TV (for videos you’ve already rented or purchased)
To use voice commands with Chromecast, you need a device with Google Assistant (such as the Google Home or Google Home Mini smart speaker), plus a phone or tablet with the Google Assistant app installed. Voice commands also work with some smart TVs that have Chromecast built in (see Google’s website for a list of supported sets). Check this article for more details.
While casting from other sources works, an action is not able to provide content that can be casted to other devices.

Chromecast home screen development options?

I've been reading through Google's Chromecast developer documentation and I can't seem to find any developer docs that discuss how to develop customizations for the Chromecast home screen, such as HTML overlays, etc.
There are Chromecast apps available that do show stuff on the Chromecast home screen, such as Dashboard Cast, https://play.google.com/store/apps/details?id=com.rir.dashboardcast&hl=en.
Does anyone know what approaches can be used with the Receiver API to allow this?
You cannot customize the home screen (backdrop); users can change what sort of feeds (images) can be used to be shown there. You, as a developer, do not have control over that and if it seems that some developers have customized that, in reality they have not; they are running an app there (like any other chromecast app).

Youtube API - background play? cache?

On a desktop browser (Chrome, Safari, Firefox, etc.) you can have several tabs open and have a Youtube video cached on every tab. You can playback those videos even if you dont have internet anymore (because they are cached) and also you can minimize the browser to work on other stuff (so you can listen to the audio but dont have the video open at the same time).
So my question is: can I develop an app for mobile devices, which can have Youtube videos playing in the background (multitask) and also be able to cache them, and play them offline afterwards?
I just want to do the same that a browser can do on a computer, but on an iPhone. *The Youtube API Terms os Service are not clear in this aspect.
The terms of service are here: https://developers.google.com/youtube/terms
"For the avoidance of doubt, Your API Client shall not be designed to cache YouTube audiovisual content."

Remote Screen Sharing in realtime like SharedView, TeamViewer

What technologies would I need to know to write an app like the now defunct Microsoft SharedView or something like TeamViewer? Any way to do it with a browser and not need a client app?
I'm a .NET developer, but figure I'd need to know C++ or driver stuff?
How would you stream the users desktop to another user? How do you even capture it in realtime?
I can imagine how you could take screenshots of the desktop and transfer them, but how do you capture live video of the screen of application and stream it to another user.
There are many apps that do this: Skype, GotoMeeting, TeamViewer, SharedView, Citrix, logmein, etc. but I'd like to write my own.
How would I get this to work on Windows, tablets, droids, etc...?
The browser seems to be a good platform for this, but there are some limitations
1 - flash doesn't work at all on IOS, and is not widely available on android.
2- Webrtc works with chrome, firefox and opera on mac/pc/linux, and with firefox/chrome on android. There's librairies to use webrtc from an IOS native app(in objective C). Screen Sharing on the other hand only works with chrome (pc/mac/linux). There's a work in progress in firefox.
3- Installation of browser plugins will be hard if not impossible on various platforms, but it can open some possibility : on chrome and firefox you can make them with javascript. For example a javascript extention can share a tab in chrome.
Using javascript you can stream from a desktop to any other desktop / android.

Resources