Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump @jellyfin/client-axios to 10.7.4 #1018

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/components/Item/Metadata/MetadataEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export default Vue.extend({
this.loading = true;
await this.$api.itemUpdate.updateItem({
itemId: this.metadata.Id as string,
baseItemDto: item
uNKNOWNBASETYPE: item
});
this.$emit('save');
this.loading = false;
Expand Down
2 changes: 1 addition & 1 deletion client/components/Players/AudioPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default Vue.extend({
await this.$api.mediaInfo.getPostedPlaybackInfo({
itemId: this.getCurrentItem?.Id || '',
userId: this.$auth.user?.Id,
playbackInfoDto: { DeviceProfile: this.$playbackProfile }
uNKNOWNBASETYPE: { DeviceProfile: this.$playbackProfile }
})
).data;

Expand Down
10 changes: 5 additions & 5 deletions client/components/Players/PlayerManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export default Vue.extend({
) {
this.$api.playState.reportPlaybackStopped(
{
playbackStopInfo: {
uNKNOWNBASETYPE: {
ItemId: this.getPreviousItem.Id,
PlaySessionId: state.playbackManager.playSessionId,
PositionTicks: this.msToTicks(
Expand All @@ -240,7 +240,7 @@ export default Vue.extend({
if (this.getCurrentItem?.Id) {
this.$api.playState.reportPlaybackStart(
{
playbackStartInfo: {
uNKNOWNBASETYPE: {
CanSeek: true,
ItemId: this.getCurrentItem.Id,
PlaySessionId: state.playbackManager.playSessionId,
Expand Down Expand Up @@ -270,7 +270,7 @@ export default Vue.extend({
) {
this.$api.playState.reportPlaybackProgress(
{
playbackProgressInfo: {
uNKNOWNBASETYPE: {
ItemId: this.getCurrentItem.Id,
PlaySessionId: state.playbackManager.playSessionId,
IsPaused: false,
Expand All @@ -292,7 +292,7 @@ export default Vue.extend({
if (state.playbackManager.currentTime !== null) {
this.$api.playState.reportPlaybackStopped(
{
playbackStopInfo: {
uNKNOWNBASETYPE: {
ItemId: this.getPreviousItem.Id,
PlaySessionId: state.playbackManager.playSessionId,
PositionTicks: this.msToTicks(
Expand All @@ -315,7 +315,7 @@ export default Vue.extend({
if (state.playbackManager.currentTime !== null) {
this.$api.playState.reportPlaybackProgress(
{
playbackProgressInfo: {
uNKNOWNBASETYPE: {
ItemId: this.getCurrentItem.Id,
PlaySessionId: state.playbackManager.playSessionId,
IsPaused: true,
Expand Down
10 changes: 7 additions & 3 deletions client/components/Players/TrackList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@
import Vue from 'vue';
import { mapActions, mapGetters } from 'vuex';
import groupBy from 'lodash/groupBy';
import { BaseItemDto, BaseItemDtoQueryResult } from '@jellyfin/client-axios';
import {
BaseItemDto,
BaseItemDtoQueryResult,
SortOrder
} from '@jellyfin/client-axios';
import timeUtils from '~/mixins/timeUtils';
import itemHelper from '~/mixins/itemHelper';

Expand All @@ -97,8 +101,8 @@ export default Vue.extend({
await this.$api.items.getItems({
userId: this.$auth.user?.Id,
parentId: this.item.Id,
sortBy: 'SortName',
sortOrder: 'Ascending'
sortBy: ['SortName'],
sortOrder: [SortOrder.Ascending]
})
).data;
},
Expand Down
2 changes: 1 addition & 1 deletion client/components/Players/VideoPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default Vue.extend({
await this.$api.mediaInfo.getPostedPlaybackInfo({
itemId: this.getCurrentItem?.Id || '',
userId: this.$auth.user?.Id,
playbackInfoDto: { DeviceProfile: this.$playbackProfile }
uNKNOWNBASETYPE: { DeviceProfile: this.$playbackProfile }
})
).data;

Expand Down
2 changes: 1 addition & 1 deletion client/components/Wizard/WizardAdminAccount.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default Vue.extend({
this.$auth.ctx.app.$axios.setHeader('X-Emby-Authorization', token);

await this.$api.startup.updateStartupUser({
startupUserDto: this.admin
uNKNOWNBASETYPE: this.admin
});

this.$emit('step-complete', { step: 2 });
Expand Down
2 changes: 1 addition & 1 deletion client/components/Wizard/WizardLanguage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default Vue.extend({
try {
this.$i18n.setLocale(this.UICulture);
await this.$api.startup.updateInitialConfiguration({
startupConfigurationDto: {
uNKNOWNBASETYPE: {
...this.initialConfig,
UICulture: this.UICulture
}
Expand Down
2 changes: 1 addition & 1 deletion client/components/Wizard/WizardMetadata.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default Vue.extend({

try {
await this.$api.startup.updateInitialConfiguration({
startupConfigurationDto: {
uNKNOWNBASETYPE: {
...this.initialConfig,
MetadataCountryCode: this.metadataLanguage,
PreferredMetadataLanguage: this.metadataCountry
Expand Down
2 changes: 1 addition & 1 deletion client/components/Wizard/WizardRemoteAccess.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default Vue.extend({

try {
await this.$api.startup.setRemoteAccess({
startupRemoteAccessDto: {
uNKNOWNBASETYPE: {
EnableRemoteAccess: this.allowRemoteAccess,
EnableAutomaticPortMapping: this.enableUPNP
}
Expand Down
6 changes: 3 additions & 3 deletions client/pages/artist/_itemId/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<script lang="ts">
import Vue from 'vue';
import { mapActions, mapGetters, mapState } from 'vuex';
import { BaseItemDto, ImageType } from '@jellyfin/client-axios';
import { BaseItemDto, ImageType, SortOrder } from '@jellyfin/client-axios';
import { Context } from '@nuxt/types';
import htmlHelper from '~/mixins/htmlHelper';
import imageHelper from '~/mixins/imageHelper';
Expand All @@ -138,8 +138,8 @@ export default Vue.extend({

const appearanceIds = await $items.getItems({
albumArtistIds: [itemId],
sortBy: 'PremiereDate,ProductionYear,SortName',
sortOrder: 'Descending',
sortBy: ['PremiereDate', 'ProductionYear', 'SortName'],
sortOrder: [SortOrder.Descending],
recursive: true,
includeItemTypes: ['MusicAlbum']
});
Expand Down
2 changes: 1 addition & 1 deletion client/schemes/jellyfinScheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default class JellyfinScheme {
// Login using the Axios client
const authenticateResponse = await this.$auth.ctx.app.$api.user.authenticateUserByName(
{
authenticateUserByName: {
uNKNOWNBASETYPE: {
Username: username,
Pw: password
}
Expand Down
2 changes: 1 addition & 1 deletion client/store/plugins/preferencesSyncPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const preferencesSync: Plugin<AppState> = (store) => {
displayPreferencesId: subModule,
userId: store.$auth.user?.Id,
client: 'vue',
displayPreferencesDto: displayPrefs as DisplayPreferencesDto
uNKNOWNBASETYPE: displayPrefs as DisplayPreferencesDto
}
);

Expand Down
6 changes: 3 additions & 3 deletions client/utils/playbackUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function translateItemsForPlayback(
artistIds: [item.Id],
filters: [ItemFilter.IsNotFolder],
recursive: true,
sortBy: 'SortName',
sortBy: ['SortName'],
mediaTypes: ['Audio']
})
).data.Items || [];
Expand All @@ -61,7 +61,7 @@ export async function translateItemsForPlayback(
genreIds: [item.Id],
filters: [ItemFilter.IsNotFolder],
recursive: true,
sortBy: 'SortName',
sortBy: ['SortName'],
mediaTypes: ['Audio']
})
).data.Items || [];
Expand All @@ -74,7 +74,7 @@ export async function translateItemsForPlayback(
filters: [ItemFilter.IsNotFolder],
recursive: true,
sortBy: !['BoxSet'].includes(item.Type || '')
? 'SortName'
? ['SortName']
: undefined,
mediaTypes: ['Audio', 'Video']
})
Expand Down
23 changes: 15 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@fontsource/noto-sans-kr": "^4.2.2",
"@fontsource/noto-sans-sc": "^4.2.2",
"@fontsource/noto-sans-tc": "^4.2.2",
"@jellyfin/client-axios": "^10.7.0",
"@jellyfin/client-axios": "^10.7.4",
"@nuxtjs/auth": "^4.9.1",
"@nuxtjs/axios": "^5.13.1",
"@nuxtjs/pwa": "^3.3.5",
Expand Down