38 Commits

Author SHA1 Message Date
Andrew Novac
36b4172dc7 Sync changes from master branch (#67)
* Fixes index out of bounds bug and adds global placeholder variable

* Adds placeholder image

* Update spotify.html.j2

* Easy way to add more thems, added a dark theme

* Easy theme selection

* Themes and Templates setup guide

* Themes and Templates (#1)

* Update templates.json

* Update templates.json

* Update templates.json

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update templates.json

* Add spotify link for song and artist

- Added Spotify link to song title
- Added Spotify logo svg that takes the user to Spotify to listen to the currently playing song
- Added Spotify link to song artist

* Added support for Docker

- Updated SetUp.md with a "Run locally with Docker" section
- Moved requirements.txt to the root of the repo since some hosting
  services require the file to be there (eg. Heroku https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-python)

* Apply codefactor.io suggestions

- Use specific python docker image (less error prone)
- Use '--no-cache-dir' flag in pip since pip cache makes docker images larger

* Prepare for Heroku deployment

- Heroku will bind the app to $PORT

- Add parameter to API to be able to customize the background color of the svg

- Add parameter to API to be able to customize the border color of the svg

- Add SetUp.md section on how to customize your card with URL parameters

Update SetUp.md with a section on how to customize the card

* Updated setup instructions and removed default spotify logo

* Change mail provider to custom built one

* Give Kudos in README

* Update eq if currently listening to or not

* Preview spotify logo

* Add header

* Give room for header

change color of status for contrast

* Update currentStatus

* Test height proporty

* change colors + margin

* Add gradient to eq

* Add background to bars

* Give transparency fill to bars

* Re-add background to bars to evaluate interactions

* Fix background for all bars to apply gradients

* Fix syntax error

* Zoom in background for gradient scroll

* Slow animation of gradient

* Set gradient animation to run first, then sound

* Modify zoom of bar background

* absolute bar travel time

* remove alternate animation for bars

* uncenter start background position

* remove sound animation for debug

* Zoom out background

* remove random.radient

* Remove debug

* Only randomize sound animation duration

* Speed up and add more bars

* Actually speed them up

* ZOOOOOM

* change bar animation to ease

* Slow down bar speeds

* Update README.md

* set bar animation to ease-out

* Set bars to ease in

* Speed up gradient animation

* Speed up gradient animation

* Get only last played song if not listening

* Fix syntax error on itemIndex declaration

* Generate random bezier for bar animations

* Expand speed window for bars

* Pan time window to favor fast

* add preview and prepare for PR

* Add preview and prepare for PR

* change preview.mp4 to .gif

* Split away from table

* General improvements

- Refresh token only when it expires (saves 1 request most of the time)
- Apply suggestions from python lsp-server

* Add album-cover related gradients (#66)

* Visualize light theme

* sync with gradients branch

most likely will revert

* Sorry light mode I am too tired for you

* Hope to add average color for the gradient

* nth child for all bar in bars real bar foobar bar!

* Make the EQ bar colors be based upon the album cover

* Fix req.txt

* silly imports, why are you so... you

* Give the song title a nice gradient

* textPalette -> songPalette

* Dark mode compatibility

* prevent .env changes from being made to the docker image, unless running locally

* Add gradient to the text in the song name, attempt animation

* remove animation from text

* frantic commenting

* Why does this work on a contianer from my computer but not on vercel

* aha!

* Add in some nice animations for the colors

* Add in some nice animations for the text colors

* Add glow keyframes for the text

* remove glow animation

* remove text shadow entirely

* force commit to rebuild vercel?

* undo last change,(literally nothing)

* Speed up artist gradient

* Only set the barPalette if there is no song currently playing

Attempt to set songPalette to the recently playing url, but there may be a requirement for a barPalette

* Give barPalette some love

* Add placeholder URL if no image exists

* Enable personalized changes

* Enable personalized changes

* Revert personalized changes

* Revert margin change

---------

Co-authored-by: Lloyd Owen <2387296o@student.gla.ac.uk>
Co-authored-by: Andrew Novac <anovaec@gmail.com>
Co-authored-by: Ethan Shoham <69990209+Ethan-S-Dev@users.noreply.github.com>
Co-authored-by: Ethan Shoham <ethan380s@gmail.com>
Co-authored-by: AlexandrosAlexiou <alex.alexiouu@gmail.com>
Co-authored-by: Alexander Hamilton <65139378+GalexY727@users.noreply.github.com>
Co-authored-by: Alexander Hamilton <a.hamilton72006@gmail.com>
2023-06-01 20:51:41 -04:00
AlexandrosAlexiou
465f918ca5 General improvements
- Refresh token only when it expires (saves 1 request most of the time)
- Apply suggestions from python lsp-server
2023-04-18 20:39:16 -04:00
Andrew Novac
3a001e8ff1 Split away from table 2023-04-18 20:39:16 -04:00
Andrew Novac
30be7d8498 Change mail provider to custom built one
Give Kudos in README

Update eq if currently listening to or not

Preview spotify logo

Add header

Give room for header

change color of status for contrast

Update currentStatus

Test height proporty

change colors + margin

Add gradient to eq

Add background to bars

Give transparency fill to bars

Re-add background to bars to evaluate interactions

Fix background for all bars to apply gradients

Fix syntax error

Zoom in background for gradient scroll

Slow animation of gradient

Set gradient animation to run first, then sound

Modify zoom of bar background

absolute bar travel time

remove alternate animation for bars

uncenter start background position

remove sound animation for debug

Zoom out background

remove random.radient

Remove debug

Only randomize sound animation duration

Speed up and add more bars

Actually speed them up

ZOOOOOM

change bar animation to ease

Slow down bar speeds

Update README.md

set bar animation to ease-out

Set bars to ease in

Speed up gradient animation

Speed up gradient animation

Get only last played song if not listening

Fix syntax error on itemIndex declaration

Generate random bezier for bar animations

Expand speed window for bars

Pan time window to favor fast

add preview and prepare for PR

Add preview and prepare for PR

change preview.mp4 to .gif
2023-04-18 20:37:41 -04:00
Andrew Novac
f31d5fd66a Updated setup instructions and removed default spotify logo 2023-04-18 20:37:40 -04:00
AlexandrosAlexiou
883abaca0c Prepare for Heroku deployment
- Heroku will bind the app to $PORT

- Add parameter to API to be able to customize the background color of the svg

- Add parameter to API to be able to customize the border color of the svg

- Add SetUp.md section on how to customize your card with URL parameters

Update SetUp.md with a section on how to customize the card
2023-04-18 20:37:40 -04:00
AlexandrosAlexiou
02b606b543 Added support for Docker
- Updated SetUp.md with a "Run locally with Docker" section
- Moved requirements.txt to the root of the repo since some hosting
  services require the file to be there (eg. Heroku https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-python)
2023-04-18 20:37:40 -04:00
AlexandrosAlexiou
0bf396a69f Add spotify link for song and artist
- Added Spotify link to song title
- Added Spotify logo svg that takes the user to Spotify to listen to the currently playing song
- Added Spotify link to song artist
2023-04-18 20:37:40 -04:00
Ethan Shoham
a301a69078 Themes and Templates (#1)
* Update templates.json

* Update templates.json

* Update templates.json

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update spotify.py

* Update templates.json
2023-04-18 20:37:40 -04:00
Ethan Shoham
c63a193ed8 Themes and Templates setup guide 2023-04-18 20:37:40 -04:00
Ethan Shoham
0c1db0a9fe Easy theme selection 2023-04-18 20:37:40 -04:00
Ethan Shoham
5f2e500dc8 Easy way to add more thems, added a dark theme 2023-04-18 20:37:40 -04:00
Ethan Shoham
5f4d2096c7 Update spotify.html.j2 2023-04-18 20:37:40 -04:00
Lloyd Owen
66ca8b1ea5 Adds placeholder image 2023-04-18 20:37:40 -04:00
Lloyd Owen
cc2572c573 Fixes index out of bounds bug and adds global placeholder variable 2023-04-18 20:37:40 -04:00
Khroners
ebee6879b5 Fix the issue of error 500 2021-05-23 21:06:14 +02:00
John Corser
ac1647bbe5 fall back to recent song when listening to a podcast 2020-12-17 18:49:45 -05:00
novatorem
d38f94f221 Removed preview 2020-09-12 15:04:00 -04:00
novatorem
44c9ec100b Debugging KeyError 2020-09-11 17:18:40 -04:00
novatorem
aa73bc0ac2 Font improvement 2020-09-01 19:16:34 -04:00
novatorem
ab4288bfd0 Legibility improvements 2020-09-01 19:13:53 -04:00
novatorem
5194a68925 Comment out status 2020-08-25 19:28:25 -04:00
novatorem
3a060caa52 Fixed height 2020-08-25 19:27:16 -04:00
novatorem
cf831d76ca Fix container 2020-08-25 19:24:43 -04:00
novatorem
b234211a28 Merge branch 'master' of https://github.com/novatorem/novatorem 2020-08-25 19:22:36 -04:00
novatorem
c6e722f62a Status string 2020-08-25 19:21:33 -04:00
Lizzy Kerrigan
502de94b98 fix incorrect syntax 2020-08-24 16:16:05 +01:00
lizzykerrigan
bcdc1f98fd fix 500 error when listening to podcasts 2020-08-24 16:11:45 +01:00
novatorem
e5ff03f4f5 Improved preview 2020-08-23 13:23:00 -04:00
novatorem
7ab94f68cc Improved spacing 2020-08-23 13:08:24 -04:00
novatorem
98ba4a8489 Improved instructions 2020-08-23 11:32:27 -04:00
novatorem
94d00e1ca2 Fix image definition 2020-08-23 11:25:19 -04:00
novatorem
d8c0827869 Hidden EQ Bar option 2020-08-23 11:23:09 -04:00
novatorem
d1391cf38b Revert "Recently playing mod" 2020-08-23 11:18:07 -04:00
novatorem
91e430cc6a Fix referencing 2020-08-23 11:11:15 -04:00
novatorem
d65352903d Recently playing mod 2020-08-23 11:08:27 -04:00
novatorem
ad63ff53c7 Song name limit 2020-08-23 10:34:18 -04:00
novatorem
cf59dbeaf7 Dynamic readme 2020-08-15 22:22:39 -04:00