mirror of
https://github.com/WonderAliceUwU/OmniArr.git
synced 2026-11-21 11:35:56 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0672b8c72b | ||
|
|
591fac51b2 | ||
|
|
a926964834 |
No files matched your search
@@ -43,7 +43,7 @@ Create a directory for OmniArr and add this `docker-compose.yml`:
|
|||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
omniarr:
|
omniarr:
|
||||||
image: wonderalice/omniarr:1.2.3
|
image: wonderalice/omniarr:1.2.4
|
||||||
container_name: omniarr
|
container_name: omniarr
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
@@ -90,11 +90,11 @@ the mount loses that state when the container is replaced.
|
|||||||
The current release is available as:
|
The current release is available as:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
wonderalice/omniarr:1.2.3
|
wonderalice/omniarr:1.2.4
|
||||||
wonderalice/omniarr:latest
|
wonderalice/omniarr:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
Pin `1.2.3` in production for repeatable updates. Use `latest` only when you want
|
Pin `1.2.4` in production for repeatable updates. Use `latest` only when you want
|
||||||
Compose to follow the newest published image.
|
Compose to follow the newest published image.
|
||||||
|
|
||||||
## Build locally
|
## Build locally
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
omniarr:
|
omniarr:
|
||||||
image: wonderalice/omniarr:1.2.3
|
image: wonderalice/omniarr:1.2.4
|
||||||
# Para construir desde código fuente en su lugar, descomenta estas líneas:
|
# Para construir desde código fuente en su lugar, descomenta estas líneas:
|
||||||
# build:
|
# build:
|
||||||
# context: .
|
# context: .
|
||||||
|
|||||||
@@ -4153,7 +4153,10 @@ function jellyfinToCard(
|
|||||||
const backdropItemId = item.ParentBackdropItemId || item.Id;
|
const backdropItemId = item.ParentBackdropItemId || item.Id;
|
||||||
const backdropTag = item.ParentBackdropImageTags?.[0] || item.BackdropImageTags?.[0] || posterTag;
|
const backdropTag = item.ParentBackdropImageTags?.[0] || item.BackdropImageTags?.[0] || posterTag;
|
||||||
const progress = Math.round(item.UserData?.PlayedPercentage || 0);
|
const progress = Math.round(item.UserData?.PlayedPercentage || 0);
|
||||||
const tmdbId = Number(item.ProviderIds?.Tmdb) || (item.SeriesId ? tmdbIdByItemId?.get(item.SeriesId) : undefined);
|
// An episode's own TMDb id is not its series' id, and artwork is looked up per series.
|
||||||
|
const tmdbId = item.Type === 'Episode'
|
||||||
|
? (item.SeriesId ? tmdbIdByItemId?.get(item.SeriesId) : undefined)
|
||||||
|
: Number(item.ProviderIds?.Tmdb) || (item.SeriesId ? tmdbIdByItemId?.get(item.SeriesId) : undefined);
|
||||||
const episodeCode = formatEpisodeCode(item.ParentIndexNumber, item.IndexNumber);
|
const episodeCode = formatEpisodeCode(item.ParentIndexNumber, item.IndexNumber);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
+1
-1
@@ -1786,7 +1786,7 @@ function MediaTile(props: {
|
|||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
{props.card.hoverLabel && !continueEpisodeMeta ? <div className="media-hover-label">{props.card.hoverLabel}</div> : null}
|
{props.card.hoverLabel && !continueEpisodeMeta ? <div className="media-hover-label">{props.card.hoverLabel}</div> : null}
|
||||||
{props.card.progress ? <div className="tile-progress"><div className="tile-progress-fill" style={{ width: `${props.card.progress}%` }} /></div> : null}
|
{props.isContinueWatching && props.card.progress ? <div className="tile-progress"><div className="tile-progress-fill" style={{ width: `${props.card.progress}%` }} /></div> : null}
|
||||||
</button>
|
</button>
|
||||||
{!props.isContinueWatching && (props.styleType === 'landscape' || props.styleType === 'poster') ? <WishlistHeart card={props.card} className="media-wishlist-button" /> : null}
|
{!props.isContinueWatching && (props.styleType === 'landscape' || props.styleType === 'poster') ? <WishlistHeart card={props.card} className="media-wishlist-button" /> : null}
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
Reference in new issue
Block a user