Cloud9Developer / Jellyfin-Newsletter-Plugin

GNU General Public License v3.0
66 stars 7 forks source link

re Unix paths and windows don't mesh #114

Open p37307 opened 2 weeks ago

p37307 commented 2 weeks ago

You asked me to open this issue. https://github.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/issues/112#issuecomment-2147526563 Back when issue https://github.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/issues/112 was occurring.

Back when 10.9.* broke things, I changed path from \cache\temp/Newsletters/ to \cache\temp\Newsletters\ and manually created the Newsletters folder that was missing and Newsletters worked.

I just checked and Windows forwards \cache\temp/Newsletters/ to the correct folder in Windows Explorer.

It looks like the paths in my config reverted to \cache\temp/Newsletters/, at some point, but everything seems to be working for me, except some, not all, images are 403 in the newsletter.

I didn't want to leave you hanging since you asked me to open it. Sorry for belated task. It looks like path in the config had nothing to do with the issue in 112 and it was the other version of Jellyfin 10.9.* that caused so many issues, esp with metadata and folder structures/naming. Like I said, I didn't want to leave your request to open this unmet. This can be closed as quickly as I opened it.

My config, as it stands,

 <DebugMode>true</DebugMode>
SMTP entries  REDACTED
BODY & Entry Redacted
  <PHType>Imgur</PHType>
  <Hostname>REDACTED</Hostname>
  <ApiKey>REDACTED</ApiKey>
  <PluginsPath>C:\Users\REDACTED\AppData\Local\Jellyfin\plugins</PluginsPath>
  <TempDirectory>D:\_______________DVRtv\cache\temp</TempDirectory>
  <DataPath>C:\Users\REDACTED\AppData\Local\Jellyfin\data</DataPath>
  <ProgramDataPath>C:\Users\REDACTED\AppData\Local\Jellyfin</ProgramDataPath>
  <SystemConfigurationFilePath>C:\Users\REDACTED\AppData\Local\Jellyfin\config\system.xml</SystemConfigurationFilePath>
  <ProgramSystemPath>C:\Program Files\Jellyfin\Server\</ProgramSystemPath>
  <LogDirectoryPath>C:\Users\REDACTED\AppData\Local\Jellyfin\log</LogDirectoryPath>
  <NewsletterFileName />
  <NewsletterDir>D:\_______________DVRtv\cache\temp/Newsletters/</NewsletterDir>
  <SeriesEnabled>true</SeriesEnabled>
  <MoviesEnabled>true</MoviesEnabled>