mirror of
https://github.com/madari-media/madari-oss.git
synced 2026-03-11 17:15:39 +00:00
fix: continue watching which was not marking progress
Some checks are pending
Build and Deploy / build_windows (push) Waiting to run
Build and Deploy / build_android (push) Waiting to run
Build and Deploy / build_android_tv (push) Waiting to run
Build and Deploy / build_ipa (push) Waiting to run
Build and Deploy / build_linux (push) Waiting to run
Build and Deploy / build_macos (push) Waiting to run
Some checks are pending
Build and Deploy / build_windows (push) Waiting to run
Build and Deploy / build_android (push) Waiting to run
Build and Deploy / build_android_tv (push) Waiting to run
Build and Deploy / build_ipa (push) Waiting to run
Build and Deploy / build_linux (push) Waiting to run
Build and Deploy / build_macos (push) Waiting to run
This commit is contained in:
parent
2a7b253f06
commit
10749010ce
4 changed files with 6 additions and 3 deletions
|
|
@ -238,6 +238,8 @@ class StremioConnectionService extends BaseConnectionService {
|
||||||
nextSeason: res.nextSeason,
|
nextSeason: res.nextSeason,
|
||||||
nextEpisode: res.nextEpisode,
|
nextEpisode: res.nextEpisode,
|
||||||
nextEpisodeTitle: res.nextEpisodeTitle,
|
nextEpisodeTitle: res.nextEpisodeTitle,
|
||||||
|
externalIds: res.externalIds,
|
||||||
|
episodeExternalIds: res.episodeExternalIds,
|
||||||
);
|
);
|
||||||
}).catchError((err, stack) {
|
}).catchError((err, stack) {
|
||||||
_logger.severe('Error fetching item: ${res.id}', err, stack);
|
_logger.severe('Error fetching item: ${res.id}', err, stack);
|
||||||
|
|
|
||||||
|
|
@ -340,7 +340,7 @@ class _StremioCardState extends State<StremioCard> {
|
||||||
),
|
),
|
||||||
const SizedBox(width: 4),
|
const SizedBox(width: 4),
|
||||||
Text(
|
Text(
|
||||||
meta.imdbRating!,
|
meta.imdbRating,
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
|
|
@ -407,7 +407,7 @@ class _StremioCardState extends State<StremioCard> {
|
||||||
?.copyWith(fontWeight: FontWeight.w600),
|
?.copyWith(fontWeight: FontWeight.w600),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"S${meta.nextSeason} E${meta.nextEpisode}",
|
"S${meta.currentVideo?.season ?? meta.nextSeason} E${meta.currentVideo?.episode ?? meta.nextEpisode}",
|
||||||
style: Theme.of(context)
|
style: Theme.of(context)
|
||||||
.textTheme
|
.textTheme
|
||||||
.bodyMedium
|
.bodyMedium
|
||||||
|
|
|
||||||
|
|
@ -211,7 +211,7 @@ class TraktContainerState extends State<TraktContainer> {
|
||||||
heroPrefix: "trakt_up_next${widget.loadId}",
|
heroPrefix: "trakt_up_next${widget.loadId}",
|
||||||
service: TraktService.stremioService!,
|
service: TraktService.stremioService!,
|
||||||
isGrid: true,
|
isGrid: true,
|
||||||
isWide: false,
|
isWide: widget.loadId == "up_next_series",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -400,6 +400,7 @@ class TraktService {
|
||||||
return Meta(
|
return Meta(
|
||||||
type: "series",
|
type: "series",
|
||||||
id: imdb,
|
id: imdb,
|
||||||
|
externalIds: show['show']['ids'],
|
||||||
);
|
);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
_logger.warning('Error mapping show: $e');
|
_logger.warning('Error mapping show: $e');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue