Code Monkey home page Code Monkey logo

Comments (11)

yafp avatar yafp commented on August 25, 2024 1

@philipphutterer
sorry for the long break - i was not able to work on this project now for several weeks.
I will try to start working on it, but to be honest i don't see a chance to work on this particular issue.

Will most likely focus on updating the inner core with the next versions and not by adding more services in the near future.

Therefor i am closing this for now - sorry again for the long wait without outcome.

from ttth.

github-actions avatar github-actions commented on August 25, 2024

Thank you very much for your first issue to this project. It is much appreciated.

from ttth.

yafp avatar yafp commented on August 25, 2024

Hi @philipphutterer

first of all - thanks for the issue ;)

i'll take a look on that later. I don't have a spotify account myself - so testing might be a problem for me. i'll update this post in the next days to let you know if i think i can add support for it or not.

Greetings

from ttth.

yafp avatar yafp commented on August 25, 2024

@philipphutterer

Unfortunately, using the Custom URL option did not work.

could you tell me what does not work?

ttth_spotify

from ttth.

philipphutterer avatar philipphutterer commented on August 25, 2024

In the normal browser version you are able to log in to listen to music. In ttth you are only redirected to download the app or sth like that.

from ttth.

yafp avatar yafp commented on August 25, 2024

Hi,

i can listen to some promoted things there ... but i really don't know what spotify is supposed to be like and what magic spotify is doing in the background.

ttth is more or less a browser - opening url's in tabs - with some service specific inject code to provide goodies.

If opening the spotify url in ttth results in another content then opening it in your default browser - using the same browser-agent ...then it feels like some strange voodoo on the spotify side.

wondering

from ttth.

philipphutterer avatar philipphutterer commented on August 25, 2024

Okay after searching around some more i think i figured it out. Spotify uses DRM to play their contents and the browser therefore must have a plugin what Firefox, Chrome and Safari all have. Because Chromium isnt Chrome it does not have this plugin (called Widevine). And since Electron is based on Chromium its missing this plugin s.t. the starting page might that in order to serve the correct content.

Edit: Actually i tried it and it works on Chromium. Sorry for the incorrect statement above.

This Brave issue thread was quite helpful.

from ttth.

philipphutterer avatar philipphutterer commented on August 25, 2024

I also tried to navigate directly to the spotify web player within an electron instance and it did not work either. Then i changed the user-agent properly s.t. "electron" was no longer in there and it worked properly. Another thing i recognized is, that you use electrons <webview> tag that implicitly uses an iframe. i am not sure but maybe this could also be a problem somehow?

from ttth.

yafp avatar yafp commented on August 25, 2024

Okay after searching around some more i think i figured it out. Spotify uses DRM to play their contents and the browser therefore must have a plugin what Firefox, Chrome and Safari all have. Because Chromium isnt Chrome it does not have this plugin (called Widevine). And since Electron is based on Chromium its missing this plugin s.t. the starting page might that in order to serve the correct content.

Edit: Actually i tried it and it works on Chromium. Sorry for the incorrect statement above.

This Brave issue thread was quite helpful.

thanks that info is valuable.

from ttth.

yafp avatar yafp commented on August 25, 2024

I also tried to navigate directly to the spotify web player within an electron instance and it did not work either. Then i changed the user-agent properly s.t. "electron" was no longer in there and it worked properly. Another thing i recognized is, that you use electrons <webview> tag that implicitly uses an iframe. i am not sure but maybe this could also be a problem somehow?

i'll play around with it if i can find some time

from ttth.

github-actions avatar github-actions commented on August 25, 2024

This issue seems to be stale

from ttth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.