Komet / MediaElch

Media Manager for Kodi
https://mediaelch.github.io/mediaelch-doc/about.html
GNU Lesser General Public License v3.0
833 stars 93 forks source link

PlaceHolder (CSV and HTML) #1456

Open ticao2 opened 2 years ago

ticao2 commented 2 years ago

PlaceHolder (CSV and HTML)

1 - Is the list of Placeholders on the site up to date? https://mediaelch.github.io/mediaelch-doc/export/create-theme.html#placeholders In the CSV export list I find the User Rating field. I didn't find it in the list on the site. I only see the Rating field.

2 - In my HTML export test I tried to use the {{ MOVIE.DATE_ADDED }} field and nothing was exported. I replaced the field {{ MOVIE.FILE_LAST_MODIFIED }} and it worked correctly. Is it a BUG?

Would it be possible to add new placeholders? 3 - The file size information provided by MediaInfo. FileSize/String2 : File size (with measure, 2 digit mini) (2.1 GiB) Or just the video StreamSize/String2 (1.9 GiB) It would be a good quality comparison parameter between two copies of the same film.

4 - The original_language information provided by TMDb.

Nothing urgent. For when you want to relax from work. :-)

bugwelle commented 2 years ago

Hi,

sorry, this issue went under my radar, didn't see it.

DATE_ADDED

It appears that field is only added if it was imported from the NFO file from Kodi.

Nevertheless, I will see if I can update the placeholder list.

Regarding 3 + 4: Sure, will add them. Thanks for creating this feature request! Always nice to hear from you. :-)

ticao2 commented 2 years ago

Hi,

sorry, this issue went under my radar, didn't see it.

DATE_ADDED

It appears that field is only added if it was imported from the NFO file from Kodi.

I don't have Kodi installed. And in my last NFOs I find the datetime field at the end.

   <generator>
        <appname>MediaElch</appname>
        <appversion>2.8.13-dev</appversion>
        <kodiversion>19</kodiversion>
        <datetime>2021-10-02T00:53:37Z</datetime>
    </generator>

This should be the date used when selecting sort by date added in the ME UI. I believe it is the date of creation of the NFO. It could be this date.

Nevertheless, I will see if I can update the placeholder list.

Regarding 3 + 4: Sure, will add them. Thanks for creating this feature request! Always nice to hear from you. :-)

It's always a pleasure to hear from you too. :-)

bugwelle commented 2 years ago

And in my last NFOs I find the datetime field at the end.

Ahhh! That's the time that the file was generated. Anytime you update details of a movie, the NFO file will be generated again and that date is then updated again.

The "sort by date added" actually sorts by "last modified". That's indeed confusing. Now I know what you meant. I will look into it. :-)

bugwelle commented 2 years ago

There is now a "last modified" for CSV export for movies. The rest will come later.