Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-tucek committed Nov 23, 2018
1 parent 42aa133 commit 1f65b9e
Show file tree
Hide file tree
Showing 3 changed files with 759 additions and 7 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ yarn start



## How it works
## Known platform limitations

We retrieve the current song of spotify client using the spotify built-in web server that allow us to ask for the current status of the player.
The built-in web server could run in a range of ports starting at 4370. Lyricfier will launch multiple connections hoping find the actual port.
You can read a more detailed explanation here: [Deconstructing Spotify's built-in HTTP server](http://cgbystrom.com/articles/deconstructing-spotifys-builtin-http-server/)
### Mac OS
- fetching album cover does is not supported

## Scraping plugins

Expand Down
6 changes: 3 additions & 3 deletions render/SpotifyClientFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ export class SpotifyClientFactory {
static getSpotifyClient(): SpotifyClient {
switch (os.platform()) {
case 'darwin':
return new SpotifyDarwin()
return new SpotifyDarwin();
case 'linux':
return new SpotifyLinux()
return new SpotifyLinux();
case 'win32':
return new SpotifyWindows()
return new SpotifyWindows();
default:
return new SpotifyDefault()
}
Expand Down
Loading

0 comments on commit 1f65b9e

Please sign in to comment.