Skip to content

Commit 591587f

Browse files
Merge pull request #46 from Cloud9Developer/development
Development
2 parents a7d505d + f487f90 commit 591587f

File tree

6 files changed

+25
-8
lines changed

6 files changed

+25
-8
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 0.5.1
2+
- Cleaned up logging for easier readibility
3+
14
# 0.5.0
25
- Added JF Poster Serving Functionality
36
- Allows users to set HOSTNAME/URL to their JF server to serve poster images directly from JF, bypassing any limitations on 3rd parties such as Imgur

Directory.Build.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>0.5.0</Version>
4-
<AssemblyVersion>0.5.0</AssemblyVersion>
5-
<FileVersion>0.5.0</FileVersion>
3+
<Version>0.5.1</Version>
4+
<AssemblyVersion>0.5.1</AssemblyVersion>
5+
<FileVersion>0.5.1</FileVersion>
66
</PropertyGroup>
77
</Project>

Jellyfin.Plugin.Newsletters/Scanner/Scraper.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ public void BuildObjs(List<BaseItem> items, string type)
161161
logger.Debug(episode.PhysicalLocations[0]); // Filepath
162162
logger.Debug("---------------");
163163
}
164+
catch (IndexOutOfRangeException iore)
165+
{
166+
logger.Error($"Physical location of file could not be found.. Turn on debug mode to see more information!");
167+
logger.Error(iore);
168+
continue;
169+
}
164170
catch (Exception e)
165171
{
166172
logger.Error("Error processing your file..");

Jellyfin.Plugin.Newsletters/Shared/Database/SQLiteDatabase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ private void CreateTables(string[] tables)
109109
// "END;");
110110
try
111111
{
112-
ExecuteSQL("ALTER TABLE " + table + " ADD COLUMN Type TEXT;");
112+
// ExecuteSQL("ALTER TABLE " + table + " ADD COLUMN Type TEXT;");
113+
logger.Debug("Alter Table no longer required as of V0.5.1!");
113114
}
114115
catch (SQLiteException sle)
115116
{

build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
name: "Newsletters"
33
guid: "60f478ab-2dd6-4ea0-af10-04d033f75979"
4-
version: "0.5.0"
4+
imageUrl: "https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/logo.png"
5+
version: "0.5.1"
56
targetAbi: "10.8.0.0"
67
framework: "net6.0"
78
overview: "Send newsletters for recently added"
8-
description: >
9-
This is a longer description that can span more than one
10-
line and include details about your plugin.
9+
description: "This plugin automacially scans a users library (default every 4 hours), populates a list of recently added (not previously scanned) media, converts that data into HTML format, and sends out emails to a provided list of recipients."
1110
category: "General"
1211
owner: "jellyfin"
1312
artifacts:

manifest.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
"category": "Newsletters",
99
"imageUrl": "https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/logo.png",
1010
"versions": [
11+
{
12+
"version": "0.5.1",
13+
"changelog": "https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/CHANGELOG.md",
14+
"targetAbi": "10.8.0.0",
15+
"sourceUrl": "https://github.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/releases/download/v0.5.1/Newsletters-v0.5.1.zip",
16+
"checksum": "701f3f7f8876041bed4d940e7f9eb150",
17+
"timestamp": "2023-07-28T15:00:00Z"
18+
},
1119
{
1220
"version": "0.5.0",
1321
"changelog": "https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/CHANGELOG.md",

0 commit comments

Comments
 (0)