Skip to content
This repository was archived by the owner on Feb 28, 2022. It is now read-only.

Commit ef75881

Browse files
Merge pull request #12 from MrNuggelz/linkbutton-patch
Remove deprecated linkbutton element from source
2 parents 9604988 + 1c89b30 commit ef75881

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Emby.AutoOrganize/Configuration/autoorganizelog.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
define(['globalize', 'serverNotifications', 'events', 'scripts/taskbutton', 'datetime', 'loading', 'libraryMenu', 'paper-icon-button-light', 'emby-linkbutton', 'detailtablecss'], function (globalize, serverNotifications, events, taskButton, datetime, loading, libraryMenu) {
1+
define(['globalize', 'serverNotifications', 'events', 'scripts/taskbutton', 'datetime', 'loading', 'libraryMenu', 'paper-icon-button-light', 'emby-button', 'detailtablecss'], function (globalize, serverNotifications, events, taskButton, datetime, loading, libraryMenu) {
22
'use strict';
33

44
ApiClient.getFileOrganizationResults = function (options) {
@@ -257,7 +257,7 @@
257257

258258
if (item.StatusMessage) {
259259

260-
return '<a style="color:' + color + ';" data-resultid="' + item.Id + '" is="emby-linkbutton" href="#" class="button-link btnShowStatusMessage">' + status + '</a>';
260+
return '<a style="color:' + color + ';" data-resultid="' + item.Id + '" is="emby-button" href="#" class="button-link btnShowStatusMessage">' + status + '</a>';
261261
} else {
262262
return '<span data-resultid="' + item.Id + '" style="color:' + color + ';">' + status + '</span>';
263263
}
@@ -405,12 +405,12 @@
405405
html += '</span>';
406406
}
407407
else if (status === 'SkippedExisting') {
408-
html += '<a is="emby-linkbutton" data-resultid="' + item.Id + '" style="color:blue;" href="#" class="button-link btnShowStatusMessage">';
408+
html += '<a is="emby-button" data-resultid="' + item.Id + '" style="color:blue;" href="#" class="button-link btnShowStatusMessage">';
409409
html += item.OriginalFileName;
410410
html += '</a>';
411411
}
412412
else if (status === 'Failure') {
413-
html += '<a is="emby-linkbutton" data-resultid="' + item.Id + '" style="color:red;" href="#" class="button-link btnShowStatusMessage">';
413+
html += '<a is="emby-button" data-resultid="' + item.Id + '" style="color:red;" href="#" class="button-link btnShowStatusMessage">';
414414
html += item.OriginalFileName;
415415
html += '</a>';
416416
} else {

Emby.AutoOrganize/Emby.AutoOrganize.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<AssemblyVersion>2.0.0</AssemblyVersion>
6-
<FileVersion>2.0.0</FileVersion>
5+
<AssemblyVersion>3.0.0</AssemblyVersion>
6+
<FileVersion>3.0.0</FileVersion>
77
</PropertyGroup>
88

99
<ItemGroup>

build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "jellyfin-plugin-autoorganize"
33
guid: "70b7b43b-471b-4159-b4be-56750c795499"
4-
version: "2" # Please increment with each pull request
4+
version: "3" # Please increment with each pull request
55
jellyfin_version: "10.3.0" # The earliest binary-compatible version
66
owner: "jellyfin"
77
nicename: "Auto Organize"

0 commit comments

Comments
 (0)