mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-20 09:33:19 +03:00
Unified file card now supports playlists
Added custom playlists component Removed legacy file manager from home screen
This commit is contained in:
@@ -19,10 +19,12 @@ export class UnifiedFileCardComponent implements OnInit {
|
||||
@Input() file_obj = null;
|
||||
@Input() card_size = 'medium';
|
||||
@Input() use_youtubedl_archive = false;
|
||||
@Input() is_playlist = false;
|
||||
@Input() index: number;
|
||||
@Output() goToFile = new EventEmitter<any>();
|
||||
@Output() goToSubscription = new EventEmitter<any>();
|
||||
@Output() deleteFile = new EventEmitter<any>();
|
||||
@Output() editPlaylist = new EventEmitter<any>();
|
||||
|
||||
/*
|
||||
Planned sizes:
|
||||
@@ -62,6 +64,13 @@ export class UnifiedFileCardComponent implements OnInit {
|
||||
})
|
||||
}
|
||||
|
||||
emitEditPlaylist() {
|
||||
this.editPlaylist.emit({
|
||||
playlist: this.file_obj,
|
||||
index: this.index
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function fancyTimeFormat(time) {
|
||||
|
||||
Reference in New Issue
Block a user