1
0
Commit Graph

643 Commits

Author SHA1 Message Date
7228ab9ff6
Move to version model based on year.week.minor. 2022-03-31 15:59:07 +04:00
032fde9648
Let's add -v flag that will show current version. 2022-03-31 15:57:52 +04:00
1dad2ffa5f
Removed another forgotten debug println. 2022-03-31 15:45:49 +04:00
b591346177
Removed forgotten debug println. 2022-03-31 15:44:17 +04:00
970efd7d9d
Initialising last played cache. 2022-03-31 15:40:18 +04:00
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
3b51fffa60
Added last played list cache with updating using Inotify watcher. 2022-03-31 15:35:04 +04:00
3da4bd9aed
Copied Inotify watcher with addition of ModMask. 2022-03-31 15:33:55 +04:00
80d618347e
Oh, oops. range copies values, that's why nothing happens. Use good old for now. 2022-03-31 04:02:49 +04:00
1e7819e1aa
Hmm, time conversion fails, let's see what happened. 2022-03-31 03:45:59 +04:00
d900d78800
Oh, right used utilities must be allowed as well. 2022-03-31 03:38:41 +04:00
d3d0d2d186
Added /usr/bin/bash to allowed executables. 2022-03-31 03:19:15 +04:00
e1310e211e
Implemented timezone conversion in handlers. 2022-03-31 02:55:34 +04:00
00c4b5a8b3
Added timezone for TZ converting purposes. 2022-03-31 02:55:05 +04:00
6f152673f2
Added ToClientTimezone() function to convert time to client's local time. 2022-03-31 02:54:04 +04:00
a21a361167
Changed path to unix socket in NGiNX config. 2022-03-31 02:20:32 +04:00
b4cbb236aa
Fixed an error in a time format. 2022-03-31 02:16:34 +04:00
942bad3b9d
It should be server_start_date. 2022-03-31 02:16:15 +04:00
9d2e52aec3
Added missing JSON Content-Type. 2022-03-31 02:15:16 +04:00
4740f9ddc3
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
f605475f75
Working radio online status. 2022-03-31 02:11:23 +04:00
b258e6f7ef
Added Xiph directory link over a player. 2022-03-31 02:10:33 +04:00
c68c99e528
Return error for IcecastLastPlayedSongs. 2022-03-30 20:21:18 +04:00
306ddb2b53
Error logging for last played songs. 2022-03-30 20:20:30 +04:00
2664d24c5f
Uncommenting last-played table. 2022-03-30 20:02:07 +04:00
97935ac3e3
Commenting out lst-played. 2022-03-30 19:58:24 +04:00
bf2a4e4d14
Uhm, there should be radio.arav.home.arpa instead. 2022-03-30 19:15:05 +04:00
924245e9c9
A little refactor. Better errors handling. 2022-03-30 19:13:55 +04:00
4216c9c82a
Moved IcecastStatusDTO's method Song() under its struct. 2022-03-30 18:54:50 +04:00
d601ec607b
Logger replaced with a variant that don't write date to stdout. 2022-03-30 18:52:35 +04:00
588be2c2bb
Updated favicon. 2022-03-30 18:51:55 +04:00
c61328a37e
Restricted rw, ro and exec paths. Moved Restart option on top. 2022-03-30 18:51:33 +04:00
3d8601ee51
Shortened socket name in config. 2022-03-30 18:50:29 +04:00
b2dc913e27
PKGBUILD updated. 2022-03-30 18:50:12 +04:00
66be1c0e97
Move font's license out of assets dir. 2022-03-30 18:49:20 +04:00
f42c239b27
Uhm, okay. it is actually .Songs. 2022-03-10 00:37:18 +04:00
db5ec743bd
Should work now. 2022-03-10 00:33:45 +04:00
deb6a2088e
Fixing a template. 2022-03-10 00:30:47 +04:00
85751b4cd8
Another try to fix template. 2022-03-10 00:29:34 +04:00
c6c06fa014
Found a typo. 2022-03-10 00:22:37 +04:00
abb4c91dee
Uncomment even more in a template. 2022-03-10 00:19:30 +04:00
8d4ef85e99
Another fix for index.jade. 2022-03-10 00:17:58 +04:00
91f9c1c17b
It yells at me telling that ] is invalid. 2022-03-10 00:16:34 +04:00
fb17938fed
Fixed vars in template. 2022-03-10 00:13:30 +04:00
72b026c04f
Uncomment more in index.jade. 2022-03-10 00:11:45 +04:00
6a61c56891
We are closer for working IcecastLastPlayedSongs(). 2022-03-10 00:10:00 +04:00
c4ea8aef8c
Debug Icecast. 2022-03-10 00:06:09 +04:00
637f7c0280
Oh, I found the problem. It's cut command. 2022-03-10 00:02:44 +04:00
65212103a3
Debug Icecast 2. 2022-03-10 00:00:52 +04:00
f756cedae7
Debugging Icecast. 2022-03-09 23:59:25 +04:00