Skip to content

Commit

Permalink
fix vod id in item
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBrax committed Nov 6, 2023
1 parent 57aafe6 commit bb8d8f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client-vue/src/components/VodItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ const renameVodTemplatePreview = computed(() => {
absolute_episode: props.vod.stream_absolute_number ? props.vod.stream_absolute_number.toString().padStart(2, "0") : "",
title: props.vod.getTitle() || "",
game_name: isTwitchVOD(props.vod) ? (props.vod.current_game ? props.vod.current_game.name : "") : "",
game_id: isTwitchVOD(props.vod) ? (props.vod.current_game ? props.vod.current_game.id : "") : "",
};
const replaced_string = formatString(renameVodSettings.value.template, replacements);
return replaced_string;
Expand Down

0 comments on commit bb8d8f4

Please sign in to comment.