Comments (5)
Or you could use something mobile version of this app has - opening new window with Spotify login page where you can login to your account, and app could grab these cookies when logged in. (I was genuenly curious why it's a thing on mobile but not on PC)
from spotube.
@kbvivi
Sounds much better approach.
Do you have idea how to do something like that in a good way?
In terms of:
- finding the right browser
- open the specific webpage
- detect successful login and grab the cookie
from spotube.
@kbvivi Sounds much better approach. Do you have idea how to do something like that in a good way? In terms of:
1. finding the right browser 2. open the specific webpage 3. detect successful login and grab the cookie
App could probably just could take advantage of webviews to show Spotify login page in separate window that is not specifically some browser and then when app detects navigation - it will grab cookies from that webview. So basically the same as mobile version has but on PC
Sadly I can't do pull request with it myself because I don't have much knowledge about this specific language.
from spotube.
I came to suggest the same approach as Rookie as I've used that library before, but I don't think a similar library exists for Dart, it would have to be created.
The easier approach is going to be using web view or some form of controlled browser environment to have the user log in and extract the cookie after.
from spotube.
Flutter desktop has no Webview support. Although it's planned but it's stuck on PlatformViews support.
Which allows to overlay anything over Flutter UI. Flutter ios and Android has support for this but for desktop it's yet to be implemented.
flutter/flutter#41722
flutter/flutter#41724
flutter/flutter#31713
Although there's library like desktop_weview_windows and webview_windows, these don't expose any API to get the cookies.
from spotube.
Related Issues (20)
- Download Lyrics HOT 1
- Offline songs show wrong cover image
- Extremely Inefficient Interface
- Spotify songs not playing
- Spotube crashes on start after updating from 3.7.0->3.8.1: Unknown GPU error
- Disconnecting listening device scrambles playlist [BUG]
- Auth Failed HOT 1
- i cant open spotube
- Connect with spotify bringing blank page HOT 1
- Spotube skipping songs when switching sources HOT 1
- Sorting and loading issues with big playlists after deleting a song
- Pressing back once will play the song from beginning.
- [iOS] Very Low Sound while on Carplay since 3.8.1
- Search without an account
- Time bar for discord RPC
- Songs simply do not play HOT 10
- Authentication Failure DioException HOT 1
- Macos spotify login error HOT 1
- dose not work after update HOT 2
- no longer plays music, doesnt load songs fully HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotube.