CollinHeist / TitleCardMaker

Automated title card maker for Plex, Jellyfin, and Emby
https://titlecardmaker.com/
GNU General Public License v3.0
455 stars 22 forks source link

Issues Adding to Networked Drive #80

Closed elit3ge closed 2 years ago

elit3ge commented 2 years ago

It creates the archive with no issues, however, when I am trying to set my location as a mapped drive, no luck.

[DEBUG] Could not create card "\\10.38.138.253\tvshows\Slow Horses (2022)\Season 1\Slow Horses.S01E01.jpg"
[DEBUG] Command: magick convert "C:\Utils\TitleCardMaker\source\Slow Horses (2022)\s1e1.jpg" +profile "*" -gravity center -resize "3200x1800^" -extent "3200x1800" "C:\Utils\TitleCardMaker\modules\ref\GRADIENT.png" -background None -layers Flatten "C:\Utils\TitleCardMaker\modules\.objects\source_gradient.png"

stdout: b''

stderr: b''
------------------------------------------------------------
[DEBUG] Command: magick convert "C:\Utils\TitleCardMaker\modules\.objects\source_gradient.png" -font "C:\Utils\TitleCardMaker\modules\ref\Sequel-Neue.otf" -kerning -1.25 -interword-spacing 50 -interline-spacing -22 -pointsize 157.41 -gravity south -fill black -stroke black -strokewidth 3 -annotate +0+245 "FAILURE’S CONTAGIOUS" -fill "#EBEBEB" -annotate +0+245 "FAILURE’S CONTAGIOUS" "C:\Utils\TitleCardMaker\modules\.objects\gradient_title.png"

stdout: b''

stderr: b''
------------------------------------------------------------
[DEBUG] Command: magick convert -debug annotate xc:  -kerning 5.42 -pointsize 67.75 -font "C:\Utils\TitleCardMaker\modules\ref\Proxima Nova Semibold.otf" -gravity east -fill "#CFCFCF" -stroke "#CFCFCF" -strokewidth 0.75 -annotate +1600+697.2 "SEASON 1 " -font "C:\Utils\TitleCardMaker\modules\ref\Proxima Nova Regular.otf" -gravity center -fill "#CFCFCF" -stroke "#CFCFCF" -strokewidth 0.75 -annotate +0+689.5 "• " -gravity west -fill "#CFCFCF" -stroke "#CFCFCF" -strokewidth 0.75 -annotate +1640+697.2 "EPISODE 1" null: 2>&1

stdout: b''

stderr: b"2022-04-18T07:43:28+00:00 0:00.011 0.016u 7.1.0 Annotate convert[24504]: annotate.c/RenderFreetype/1670/Annotate\r\n  Font C:\\Utils\\TitleCardMaker\\modules\\ref\\Proxima Nova Semibold.otf; font-encoding none; text-encoding none; pointsize 67.75\r\n2022-04-18T07:43:28+00:00 0:00.012 0.016u 7.1.0 Annotate convert[24504]: annotate.c/GetTypeMetrics/921/Annotate\r\n  Metrics: text: SEASON 1 ; width: 370; height: 68; ascent: 54; descent: -15; max advance: 78; bounds: 0,-0.234375  49.0469,45; origin: 369.078,0; pixels per em: 68,68; underline position: -9.044; underline thickness: 1.36\r\n2022-04-18T07:43:28+00:00 0:00.013 0.016u 7.1.0 Annotate convert[24504]: annotate.c/RenderFreetype/1670/Annotate\r\n  Font C:\\Utils\\TitleCardMaker\\modules\\ref\\Proxima Nova Semibold.otf; font-encoding none; text-encoding none; pointsize 67.75\r\n2022-04-18T07:43:28+00:00 0:00.069 0.078u 7.1.0 Annotate convert[24504]: annotate.c/RenderFreetype/1670/Annotate\r\n  Font C:\\Utils\\TitleCardMaker\\modules\\ref\\Proxima Nova Regular.otf; font-encoding none; text-encoding none; pointsize 67.75\r\n2022-04-18T07:43:28+00:00 0:00.070 0.078u 7.1.0 Annotate convert[24504]: annotate.c/GetTypeMetrics/921/Annotate\r\n  Metrics: text: \xe2\x80\xa2 ; width: 48; height: 83; ascent: 63; descent: -21; max advance: 76; bounds: 0,-0.328125  19.5,23.5625; origin: 47.1406,0; pixels per em: 68,68; underline position: -9.044; underline thickness: 1.36\r\n2022-04-18T07:43:28+00:00 0:00.072 0.078u 7.1.0 Annotate convert[24504]: annotate.c/RenderFreetype/1670/Annotate\r\n  Font C:\\Utils\\TitleCardMaker\\modules\\ref\\Proxima Nova Regular.otf; font-encoding none; text-encoding none; pointsize 67.75\r\n2022-04-18T07:43:28+00:00 0:00.079 0.078u 7.1.0 Annotate convert[24504]: annotate.c/RenderFreetype/1670/Annotate\r\n  Font C:\\Utils\\TitleCardMaker\\modules\\ref\\Proxima Nova Regular.otf; font-encoding none; text-encoding none; pointsize 67.75\r\n2022-04-18T07:43:28+00:00 0:00.080 0.078u 7.1.0 Annotate convert[24504]: annotate.c/GetTypeMetrics/921/Annotate\r\n  Metrics: text: EPISODE 1; width: 356; height: 83; ascent: 63; descent: -21; max advance: 76; bounds: 0,-0.328125  48.2969,45; origin: 355.703,0; pixels per em: 68,68; underline position: -9.044; underline thickness: 1.36\r\n2022-04-18T07:43:28+00:00 0:00.082 0.078u 7.1.0 Annotate convert[24504]: annotate.c/RenderFreetype/1670/Annotate\r\n  Font C:\\Utils\\TitleCardMaker\\modules\\ref\\Proxima Nova Regular.otf; font-encoding none; text-encoding none; pointsize 67.75\r\nconvert: no encode delegate for this image format `XC' @ error/constitute.c/WriteImage/1392.\r\n"
------------------------------------------------------------
[DEBUG] Command: magick convert -size "774x108" -alpha on -background transparent xc:transparent -kerning 5.42 -pointsize 67.75 -font "C:\Utils\TitleCardMaker\modules\ref\Proxima Nova Semibold.otf" -fill black -stroke black -strokewidth 6 -annotate +0+83 "SEASON 1 " -fill "#CFCFCF" -stroke "#CFCFCF" -strokewidth 0.75 -annotate +0+83 "SEASON 1 " -font "C:\Utils\TitleCardMaker\modules\ref\Proxima Nova Regular.otf" -fill black -stroke black -strokewidth 6 -annotate +370+76.5 "•" -fill "#CFCFCF" -stroke "#CFCFCF" -strokewidth 0.75 -annotate +370+76.5 "•" -fill black -stroke black -strokewidth 6 -annotate +418+83 "EPISODE 1" -fill "#CFCFCF" -stroke "#CFCFCF" -strokewidth 0.75 -annotate +418+83 "EPISODE 1" "PNG32:C:\Utils\TitleCardMaker\modules\.objects\series_count_text.png"

stdout: b''

stderr: b''
------------------------------------------------------------
[DEBUG] Command: magick composite -gravity center -geometry +0+690.2 "C:\Utils\TitleCardMaker\modules\.objects\series_count_text.png" "C:\Utils\TitleCardMaker\modules\.objects\gradient_title.png" "\\10.38.138.253\tvshows\Slow Horses (2022)\Season 1\Slow Horses.S01E01.jpg"

stdout: b''

stderr: b"composite: unable to open image '\\10.38.138.253\\tvshows\\Slow Horses (2022)\\Season 1\\Slow Horses.S01E01.jpg': No such file or directory @ error/blob.c/OpenBlob/3529.\r\n"
------------------------------------------------------------
CollinHeist commented 2 years ago

Can you post your preferences file, and a portion of your series YAML file with the library and this series included?

CollinHeist commented 2 years ago

And are you sure the user running the Maker has the necessary R/W permissions for that network location?

elit3ge commented 2 years ago

And are you sure the user running the Maker has the necessary R/W permissions for that network location?

Yep, you were right. The local account doesn't seem to have write access. It created the empty folder but can't seem to write to it.

CollinHeist commented 2 years ago

So does changing the user who runs the Maker or mounts the network drive fix this?

CollinHeist commented 2 years ago

Closing this issue, if it still persists, please open another!