Author Topic: Picture export  (Read 15043 times)

0 Members and 1 Guest are viewing this topic.

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Picture export
« on: May 27, 2013, 08:17:46 am »
Is it possible to save posters, screenshots etc with out creating any export text file? First I have tried to export the pictures with my MovingPictures .nfo file, but I do not want to have any XML entries for the pictures in the created .nfo file. I just want the pictures to be saved in the Folder with the movie file. This I could not get done. So as a workaround I wrote another export template to export the pictures which creates a separate file called images.nfo that can be deleted afterwards. Not beautiful, but working. Is there any other way?

Thanks,
Oliver

Offline svenne

  • Power User
  • ****
  • Posts: 145
    • View Profile
Re: Picture export
« Reply #1 on: May 29, 2013, 11:55:58 am »
Hi Oliver,
I would export the posters with your .nfo file, just as you tried first.
As a workaround you could put the image references into XML-Comments:
Code: [Select]
<!-- commented out -->
You can also export the posters without any links to them:
If you reference a poster subtemplate in your .nfo export template...
Code: [Select]
{%value=poster params="full" template="poster.ptm" maxvalues="1" width="150" height="150"}...your poster subtemplate (poster.ptm) could be like this:
Code: [Select]
{#StringReplace '{%param=imgdata}' '{%param=imgdata}' ''}The trick is, PVD still exports the posters but at the same time this StringReplace statement replaces all references to the images with literally nothing.

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Re: Picture export
« Reply #2 on: May 29, 2013, 12:07:48 pm »
Code: [Select]
{#StringReplace '{%param=imgdata}' '{%param=imgdata}' ''}The trick is, PVD still exports the posters but at the same time this StringReplace statement replaces all references to the images with literally nothing.

I like that idea and will try it. Thanks for the hint.

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Re: Picture export
« Reply #3 on: May 29, 2013, 05:14:25 pm »
Thanks svenne, it works perfectly.

Next questions:

I am saving posters and screenshots with the option
 
Code: [Select]
imagenameformat="%fs%%in%%ext%"
That leads to images like:

poster1.jpg
poster2.jpg
screenshot1.jpg
screenshot2.jpg
screenshot3.jpg

Pretty good for the beginning. But:

  • is it possible to replace screenshot with backdrop?
  • is it possible to save 1 poster as folder.jpg?

Offline supreme

  • Member
  • *
  • Posts: 28
    • View Profile
Re: Picture export
« Reply #4 on: March 06, 2016, 09:49:18 pm »
how to export posters for the  highlighted movies only ?
It seems like the export button, exports all movies in the database ;/
SuPrEmE

PVD Version 0.9.9.21
Windows 7 x64 4Gb RAM

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Re: Picture export
« Reply #5 on: March 24, 2016, 10:09:24 am »
Time has passed since I used PVD the last time... But I think you have to restrict the entries via search function. All entries visible will be exported wether marked or not.

Offline supreme

  • Member
  • *
  • Posts: 28
    • View Profile
Re: Picture export
« Reply #6 on: March 29, 2016, 12:34:05 am »
Time has passed since I used PVD the last time... But I think you have to restrict the entries via search function. All entries visible will be exported wether marked or not.

yep, thanks m8
SuPrEmE

PVD Version 0.9.9.21
Windows 7 x64 4Gb RAM