mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-11 11:06:16 -08:00
feat: add optional title parameter to fetchPlaylistByUrl for improved playlist handling
This commit is contained in:
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({
|
||||
|
||||
Reference in new issue
Block a user