feat: add optional title parameter to fetchPlaylistByUrl for improved playlist handling

This commit is contained in:
4gray committed 2026-04-06 17:57:20 +02:00
1 parent 76e4e1b032
commit 695fe5ffd0
1 file changed
+3 -1
@@ -265,8 +265,10 @@ export class ElectronService extends DataService {
}
private async fetchM3uPlaylistFromUrl(payload: Partial<Playlist>) {
const title = payload.title?.trim() || undefined;
window.electron
.fetchPlaylistByUrl(payload.url)
.fetchPlaylistByUrl(payload.url, title)
.then((result) => {
this.store.dispatch(
PlaylistActions.handleAddingPlaylistByUrl({