Compare commits
1 Commits
v0.1.78.0-
...
v0.1.78.5-
| Author | SHA1 | Date | |
|---|---|---|---|
| f8e59acd94 |
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.1.78.0-dev - 2026-03-11
|
||||||
|
|
||||||
|
- dev: Trakt-Scrobbling fuer alle Wiedergabe-Pfade
|
||||||
|
|
||||||
## 0.1.77.5-dev - 2026-03-10
|
## 0.1.77.5-dev - 2026-03-10
|
||||||
|
|
||||||
- dev: Max. Eintraege pro Seite Setting pro Plugin
|
- dev: Max. Eintraege pro Seite Setting pro Plugin
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<addon id="plugin.video.viewit" name="ViewIt" version="0.1.78.0-dev" provider-name="ViewIt">
|
<addon id="plugin.video.viewit" name="ViewIt" version="0.1.78.5-dev" provider-name="ViewIt">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="3.0.0" />
|
<import addon="xbmc.python" version="3.0.0" />
|
||||||
<import addon="script.module.requests" />
|
<import addon="script.module.requests" />
|
||||||
|
|||||||
@@ -3287,15 +3287,16 @@ def _show_new_titles(plugin_name: str, page: int = 1, *, action_name: str = "new
|
|||||||
meta = plugin_meta.get(title)
|
meta = plugin_meta.get(title)
|
||||||
info_labels, art, cast = _merge_metadata(title, tmdb_info, tmdb_art, tmdb_cast, meta)
|
info_labels, art, cast = _merge_metadata(title, tmdb_info, tmdb_art, tmdb_cast, meta)
|
||||||
info_labels = dict(info_labels or {})
|
info_labels = dict(info_labels or {})
|
||||||
info_labels.setdefault("mediatype", "movie")
|
is_direct_play = bool(
|
||||||
|
plugin_name.casefold() == "einschalten"
|
||||||
|
and _get_setting_bool("einschalten_enable_playback", default=False)
|
||||||
|
)
|
||||||
|
info_labels.setdefault("mediatype", "movie" if is_direct_play else "tvshow")
|
||||||
playstate = _title_playstate(plugin_name, title)
|
playstate = _title_playstate(plugin_name, title)
|
||||||
info_labels = _apply_playstate_to_info(dict(info_labels), playstate)
|
info_labels = _apply_playstate_to_info(dict(info_labels), playstate)
|
||||||
display_label = _label_with_duration(title, info_labels)
|
display_label = _label_with_duration(title, info_labels)
|
||||||
display_label = _label_with_playstate(display_label, playstate)
|
display_label = _label_with_playstate(display_label, playstate)
|
||||||
direct_play = bool(
|
direct_play = is_direct_play
|
||||||
plugin_name.casefold() == "einschalten"
|
|
||||||
and _get_setting_bool("einschalten_enable_playback", default=False)
|
|
||||||
)
|
|
||||||
_add_directory_item(
|
_add_directory_item(
|
||||||
handle,
|
handle,
|
||||||
display_label,
|
display_label,
|
||||||
@@ -3381,8 +3382,6 @@ def _show_latest_episodes(plugin_name: str, page: int = 1) -> None:
|
|||||||
playstate = _get_playstate(key)
|
playstate = _get_playstate(key)
|
||||||
|
|
||||||
label = f"{title} - S{season_number:02d}E{episode_number:02d}"
|
label = f"{title} - S{season_number:02d}E{episode_number:02d}"
|
||||||
if airdate:
|
|
||||||
label = f"{label} ({airdate})"
|
|
||||||
label = _label_with_playstate(label, playstate)
|
label = _label_with_playstate(label, playstate)
|
||||||
|
|
||||||
info_labels: dict[str, object] = {
|
info_labels: dict[str, object] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user