fix: preserve file paths for local playlist refresh

Refs https://github.com/4gray/iptvnator/issues/891

Entire-Checkpoint: f957cd9849e0
This commit is contained in:
4gray committed 2026-05-04 10:06:39 +02:00
1 parent 568c03fe0e
commit 2efdfea0c1
12 files changed
+457 -5

No files matched your search

@@ -30,6 +30,19 @@ describe('buildDashboardSourceActions', () => {
]);
});
it('exposes refresh, info, and remove for file-backed M3U sources', () => {
const playlist = {
...basePlaylist,
filePath: '/tmp/local-playlist.m3u',
} as PlaylistMeta;
expect(actionIds(playlist, true)).toEqual([
'refresh',
'playlist-info',
'remove',
]);
});
it('exposes refresh, info, account, and remove for refreshable Xtream sources', () => {
const playlist = {
...basePlaylist,