mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-15 21:56:18 -08:00
fix: preserve file paths for local playlist refresh
Refs https://github.com/4gray/iptvnator/issues/891 Entire-Checkpoint: f957cd9849e0
This commit is contained in:
1 parent
568c03fe0e
commit
2efdfea0c1
12 files changed
+457
-5
No files matched your search
+13
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user