diff options
author | Florrie <towerofnix@gmail.com> | 2020-07-09 14:40:25 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2020-07-09 16:18:32 -0300 |
commit | bb6a25151e44c524cd463df52a7bdb2a4e0eda67 (patch) | |
tree | 249b472198d054c8dc44f211c915700e08215851 /index.js | |
parent | 04e457e9e5e1739ce8fb26e6f0085fafff0c8db1 (diff) |
rename handlePlaylistSource & let accept grouplike
It's called loadPlaylistOrSource now, and can take a grouplike (which it will process with processSmartPlaylist as usual) instead of a URL to pass to a crawler. This is so that all functionality for loading a playlist can be collected in and accessed through one interface, so that modifications to the way playlists are loaded will be reflected across everywhere that loads a playlist.
Diffstat (limited to 'index.js')
-rwxr-xr-x | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js index c40bbb9..4b7654d 100755 --- a/index.js +++ b/index.js @@ -125,7 +125,7 @@ async function main() { const loadPlaylists = async () => { for (const source of playlistSources) { - await appElement.handlePlaylistSource(source, true) + await appElement.loadPlaylistOrSource(source, true) } } |