Skip to content

added fix to show progress meter#2664

Open
Alexk2309 wants to merge 1 commit intojellyfin:masterfrom
Alexk2309:fix/add-progress-meter
Open

added fix to show progress meter#2664
Alexk2309 wants to merge 1 commit intojellyfin:masterfrom
Alexk2309:fix/add-progress-meter

Conversation

@Alexk2309
Copy link
Copy Markdown

The progress meter wasn't showing, and this fix should make it work.

@jellyfin-bot
Copy link
Copy Markdown

jellyfin-bot commented Jun 16, 2025

Cloudflare Pages deployment

Latest commit 80a1de3
Status ✅ Deployed!
Preview URL https://e25b3e71.jf-vue.pages.dev
Preview alias https://fix-add-progress-meter.jf-vue.pages.dev
Type 🔀 Preview

View build logs

@jellyfin-bot jellyfin-bot added the vue Pull requests that edit or add Vue files label Jun 16, 2025
@sonarqubecloud
Copy link
Copy Markdown

<template>
<GenericItemCard
:progress="progress"
:progress="item.Type !== BaseItemKind.Series ? progress : undefined"
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't really make sense for a series to have a progress value. It seems like it's actually reflecting the progress of the most recent episode rather than the series as a whole. I understand if this approach isn't ideal, and I'm open to changing it if there's a better way to handle it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree the progress value should be (episodes_watched / total_episodes) * 100

@ferferga
Copy link
Copy Markdown
Member

Please use conventional commits from now on (no need to reword/ammend the current ones, because I will squash this PR) but just FYI from now on :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

vue Pull requests that edit or add Vue files

Projects

Development

Successfully merging this pull request may close these issues.

3 participants