mirror of
https://github.com/alexta69/metube.git
synced 2026-06-15 08:16:00 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3b0eaad67e | |||
| 2a166ccf1f | |||
| 3bbe1e8424 |
@@ -18,26 +18,26 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
-
|
-
|
||||||
name: Set up QEMU
|
name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v4
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v4
|
||||||
-
|
-
|
||||||
name: Login to DockerHub
|
name: Login to DockerHub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: Login to GitHub Container Registry
|
name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: Build and push
|
name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|||||||
@@ -490,6 +490,7 @@
|
|||||||
</th>
|
</th>
|
||||||
<th scope="col">Video</th>
|
<th scope="col">Video</th>
|
||||||
<th scope="col">File Size</th>
|
<th scope="col">File Size</th>
|
||||||
|
<th scope="col">Downloaded</th>
|
||||||
<th scope="col" style="width: 8rem;"></th>
|
<th scope="col" style="width: 8rem;"></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@@ -556,6 +557,11 @@
|
|||||||
<span>{{ entry[1].size | fileSize }}</span>
|
<span>{{ entry[1].size | fileSize }}</span>
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
|
<td class="text-nowrap">
|
||||||
|
@if (entry[1].timestamp) {
|
||||||
|
<span>{{ entry[1].timestamp / 1000000 | date:'yyyy-MM-dd HH:mm' }}</span>
|
||||||
|
}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
@if (entry[1].status === 'error') {
|
@if (entry[1].status === 'error') {
|
||||||
@@ -585,6 +591,7 @@
|
|||||||
<span>{{ chapterFile.size | fileSize }}</span>
|
<span>{{ chapterFile.size | fileSize }}</span>
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
|
<td></td>
|
||||||
<td>
|
<td>
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<a href="{{buildChapterDownloadLink(entry[1], chapterFile.filename)}}" download
|
<a href="{{buildChapterDownloadLink(entry[1], chapterFile.filename)}}" download
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,4 @@
|
|||||||
import { AsyncPipe, KeyValuePipe } from '@angular/common';
|
import { AsyncPipe, DatePipe, KeyValuePipe } from '@angular/common';
|
||||||
import { HttpClient } from '@angular/common/http';
|
import { HttpClient } from '@angular/common/http';
|
||||||
import { AfterViewInit, Component, ElementRef, viewChild, inject, OnInit } from '@angular/core';
|
import { AfterViewInit, Component, ElementRef, viewChild, inject, OnInit } from '@angular/core';
|
||||||
import { Observable, map, distinctUntilChanged } from 'rxjs';
|
import { Observable, map, distinctUntilChanged } from 'rxjs';
|
||||||
@@ -21,6 +21,7 @@ import { MasterCheckboxComponent , SlaveCheckboxComponent} from './components/';
|
|||||||
FormsModule,
|
FormsModule,
|
||||||
KeyValuePipe,
|
KeyValuePipe,
|
||||||
AsyncPipe,
|
AsyncPipe,
|
||||||
|
DatePipe,
|
||||||
FontAwesomeModule,
|
FontAwesomeModule,
|
||||||
NgbModule,
|
NgbModule,
|
||||||
NgSelectModule,
|
NgSelectModule,
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ export interface Download {
|
|||||||
eta: number;
|
eta: number;
|
||||||
filename: string;
|
filename: string;
|
||||||
checked: boolean;
|
checked: boolean;
|
||||||
|
timestamp?: number;
|
||||||
size?: number;
|
size?: number;
|
||||||
error?: string;
|
error?: string;
|
||||||
deleting?: boolean;
|
deleting?: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user