Commit Graph

243 Commits

Author SHA1 Message Date
Aditya Kurdunkar
3892a14ead Set theme jekyll-theme-midnight 2021-12-17 00:30:33 +05:30
Aditya Kurdunkar
f365986c89 Set theme jekyll-theme-leap-day 2021-12-15 10:38:27 +05:30
Aditya Kurdunkar
8931f2270b Set theme jekyll-theme-dinky 2021-12-15 10:31:40 +05:30
aditya-K2
d1f8751af8 moving gh-pages to docs folder 2021-12-15 10:26:24 +05:30
aditya-K2
1e31d56dc7 deprecated: CACHE_FILE 2021-12-14 14:39:03 +05:30
Aditya Kurdunkar
de10c59bea
Merge pull request #16 from aditya-K2/cache
Better way to cache
2021-12-14 14:33:29 +05:30
aditya-K2
65182b2b42 minor changes 2021-12-14 14:30:31 +05:30
aditya-K2
cf3101d778 Merging Master 2021-12-14 14:29:07 +05:30
aditya-K2
fee7c6dc4d Update README 2021-12-13 21:04:45 +05:30
aditya-K2
bd08b3be24 Moving Documentation to Github Pages 2021-12-13 20:10:06 +05:30
Aditya Kurdunkar
6537621766
Update README.md 2021-12-13 20:01:47 +05:30
Aditya Kurdunkar
a8949f7549
Rename settingup.md to index.md 2021-12-13 20:01:22 +05:30
aditya-K2
b59f0ada12 Rename App.go -> app.go 2021-12-13 01:46:49 +05:30
aditya-K2
da47c9b10c Moving imageUtils.go to utils package 2021-12-13 01:43:20 +05:30
aditya-K2
9b60cbc98e Moving utils.go to utils package 2021-12-13 01:35:40 +05:30
aditya-K2
bc3e5b6741 Updated Documentation 2021-12-13 00:15:53 +05:30
aditya-K2
75d5d13fbe Checking for the / at the back 2021-12-13 00:15:16 +05:30
aditya-K2
73aebcd0a0 Added Check for / at the end in directory names 2021-12-13 00:13:16 +05:30
aditya-K2
2e1e0938c0 Merge branch 'master' of github.com:aditya-K2/goMP into cache 2021-12-13 00:10:55 +05:30
aditya-K2
9190d37c64 minor changes 2021-12-10 02:31:47 +05:30
aditya-K2
cf9b492f59 Better Documentation 2021-12-10 02:20:37 +05:30
aditya-K2
536b12cf66 Update sample_config 2021-12-09 09:38:59 +05:30
aditya-K2
0bd47c5d3f New Copy Function 2021-12-09 02:34:49 +05:30
aditya-K2
13b07bf7f7 Update in the Rendering Routine
With the updates in the caching mechanism we check if the file exists in
cache if yes then extractedImagePath now points to that path else
we generate the name for the image and pass the image to extractImage
and it passes the default value if no embedded image was found and
checks in the lastfm api and the rest works the same.
2021-12-09 02:32:02 +05:30
aditya-K2
10566d87a1 No Need to Load and Write Cache now. 2021-12-09 02:30:59 +05:30
aditya-K2
1d9fe23b00 if the image is not extracted copy the default image to the image path and return the path to the default image for checking the lastfm api 2021-12-09 02:29:53 +05:30
aditya-K2
62bcda33cb Setting up Defaults 2021-12-09 02:28:42 +05:30
aditya-K2
4d55f233d0 Better Way of Caching
Instead of Caching by maintaining a cache file as mentioned here https://github.com/aditya-K2/goMP/issues/14#issuecomment-989141798
We can directly check if the file exists if it exists then we can just
pass the path to it else we can copy the default image to the path of
the imagePath
2021-12-09 02:25:46 +05:30
aditya-K2
b99bdd4e4e Update Readme 2021-12-09 02:17:38 +05:30
aditya-K2
950a2cd34a Merge branch 'cache' 2021-12-09 02:13:42 +05:30
aditya-K2
e6f30f4081 Update Readme 2021-12-09 02:13:06 +05:30
aditya-K2
51794d6324 Merge branch 'master' of github.com:aditya-K2/goMP 2021-12-08 00:43:59 +05:30
aditya-K2
abb47a8818 Update Sample Config 2021-12-08 00:42:50 +05:30
Aditya Kurdunkar
d8be636fb6
Update README.md
Update demo
2021-12-06 00:29:39 +05:30
Aditya Kurdunkar
bb1f581110
Merge pull request #13 from aditya-K2/fix12
Fixes #12 

Looks Stable
2021-12-02 12:58:32 +05:30
aditya-K2
ce65aeaab4 Fixes #12
This fixes The Issue when a song with unknown duration was played then the percentage was
calculated wrong and the slice was getting out of bound.

fix : I have added a check for the duration.
2021-11-29 15:19:33 +05:30
Aditya Kurdunkar
49d7063399
Merge pull request #10 from aditya-K2/fuzzy
Fuzzy Searching
2021-11-29 15:07:13 +05:30
aditya-K2
eb1b07006d UPDATE README 2021-11-29 00:21:58 +05:30
aditya-K2
9ca7b34586 UPDATE README 2021-11-29 00:20:52 +05:30
aditya-K2
493a50b61b No Need of search package now 2021-11-28 23:41:50 +05:30
Aditya Kurdunkar
064e6b9673
Merge pull request #9 from aditya-K2/cache
Caching
2021-11-28 23:39:43 +05:30
aditya-K2
95594dd2ab Sending Some Informational Notifications 2021-11-28 23:38:52 +05:30
aditya-K2
baa063a712 Implementing the library 2021-11-28 23:33:34 +05:30
aditya-K2
acc494682a Using the fuzzy library 2021-11-28 23:33:25 +05:30
aditya-K2
0c98bef74a Generating the Artist Tree CONTENT
This will be helpful to generate the slice only once.
2021-11-28 23:32:40 +05:30
aditya-K2
2a2e6336e4 Implementing the previous commit
In main.go we are setting the default image path.
and whenever we don't find the image through lastfm we pointhepath to
default image in render.go
2021-11-26 22:02:20 +05:30
aditya-K2
3195223e82 Added Functionality to Point path to default Img
Sometimes the image is not found and for those artist/albums there is no
way for pointing the image path to default image path so some helper
functions have been added so that we can point them to default Image.
2021-11-26 21:59:50 +05:30
aditya-K2
7da86291dc Replacing / with _ which lead to errors when creating image. 2021-11-25 20:08:51 +05:30
aditya-K2
e9bcb8ff63 Extracted the process into a new function : getImagePath 2021-11-20 22:15:10 +05:30
Aditya Kurdunkar
e9cb51a864
Update README.md 2021-11-20 22:13:51 +05:30