This website requires JavaScript.
Explore
Help
Sign In
Arav
/
dwelling-radio
Watch
1
Star
0
Fork
0
You've already forked dwelling-radio
Code
Releases
25
Activity
032fde9648
dwelling-radio
/
internal
/
handlers
History
Alexander "Arav" Andreev
70580298d2
Rewrote LastSong handler using caching IcecastLastSong function. And IcecastLastPlayedSongs is using cache as well. Now it takes between 300 nanoseconds to 2 microseconds to get a list of last songs.
2022-03-31 15:39:51 +04:00
..
web
Well, this Jade implementation works really weird. while you must specify a name for item in each you must NOT use it, lol. Now this works, kinda. Strange thing is that if else statement doesn't support comparison operators. And as stated in examples such code as len(items) >0 should work, but no! It doesn't. Okay, at least now it works.
2022-03-31 02:14:54 +04:00
handlers.go
Rewrote LastSong handler using caching IcecastLastSong function. And IcecastLastPlayedSongs is using cache as well. Now it takes between 300 nanoseconds to 2 microseconds to get a list of last songs.
2022-03-31 15:39:51 +04:00