|
08a534a60e
|
Removed a code for reading of a playlist file from a Playlist struct, let it be simpler. load() func became LoadFromPlaintext() to parse a plaintext content.
Also fixed a wrong use of defer inside a switch, it simply doesn't work like that as it is scoped to a func, not a block.
|
2025-01-15 23:35:41 +04:00 |
|
|
88ecf675b6
|
And same for a Playlist.
|
2024-05-22 04:07:33 +04:00 |
|
|
c9e30f76e6
|
Let's actually hide RWMutex's methods to clean a namespace.
|
2023-10-09 00:21:44 +04:00 |
|
|
da4e97f1aa
|
In Playlist.load() a check for an empty file was added.
|
2023-10-07 23:17:42 +04:00 |
|
|
f8fd13f8ed
|
In playlist load() add an error message.
|
2023-10-05 17:36:02 +04:00 |
|
|
e0fa65fbd7
|
Decided to remove inotify watcher from playlist.
|
2023-10-05 17:31:12 +04:00 |
|
|
10bc3a3785
|
In Playlist embed a sync.Mutex instead.
|
2023-10-04 18:37:13 +04:00 |
|
|
dc3658d6de
|
Decided to implement an inotify watcher for a playlist file. Dunno if it works correctly, but it seems like, not tested yet.
|
2023-10-01 06:44:36 +04:00 |
|
|
4faf2a0309
|
In Playlist a method Load() was renamed into load(), and a public Reload() method created.
|
2023-10-01 06:40:05 +04:00 |
|
|
2e6f9f27c4
|
Added a Playlist struct.
|
2023-10-01 00:47:07 +04:00 |
|