mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-01-21 20:17:00 +00:00
fix: fallback to filename as playlist name when importing
This commit is contained in:
parent
4f1c8e514c
commit
c2fa0045ad
@ -209,7 +209,7 @@ export default {
|
||||
}
|
||||
|
||||
const playlist = {
|
||||
name: playlistName ?? new Date().toJSON(),
|
||||
name: playlistName ?? file.name.replace(".csv", ""),
|
||||
videos: lines
|
||||
.slice(videoListStartIndex, lines.length)
|
||||
.filter(line => line != "")
|
||||
|
Loading…
Reference in New Issue
Block a user