
Please post screenshots. The process of creating a screenshot that illustrates the problem, usually also allows you to understand the problem.
If you apply this format to a video file, then
{camera} and
{dt} like yield no result:
Code: Select all
H:\Plex\test\Carlos\{f.video ? 'Videos' : 'Photos'}\{camera.model}\{dt.format('yyyy')}\{dt.format('MM')}\{dt.format('dd-MM-yyyy HH∶mm∶ss')}
Now
{f.video ? 'Videos' : 'Photos'} always works, but that just means you end up with destination paths such as this in your
New Names list:
Now what's supposed to happen at this point? You'll either end up with a file called Videos
H:\Plex\test\Carlos\Videos OR if that folder already exists, then nothing happens. Neither is what you want.
carloslozada wrote: ↑25 Sep 2018, 14:03
Could you please help me out better on how to? or if you can pin point me the whole functions allowed to use for my case so I can play around with?.
Now what can we do instead? I don't know. In my previous post I've linked the Media Inspector so you can have a look at a given video file, to see if it contains any video metadata is available, that you can use instead of exif information, i.e.
The Media Inspector will show you all possible functions / properties that you can use and play with. Maybe there is no solution. Maybe there is a compromise. It really depends on your exact situation and use case, which nobody knows except you, especially if you don't share any screenshots.
The easiest solution would be to just process the files differently, videos go into the video folder and keep their original file name, and photos are organized in the photos folder according to exif information:
Code: Select all
H:/Plex/{f.video ? "Videos/${fn}" : "Photos/${camera.model}/${dt.format('yyyy/MM/dd-MM-yyyy HH∶mm∶ss')}"}