rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: ScorpAL on August 10, 2009, 12:41:45 PM

Title: Suggest: HFS + MediaInfo
Post by: ScorpAL on August 10, 2009, 12:41:45 PM
Hi.

Idea:
Show info of media files on Templates.
MyFile.avi | Duration: 1 hour 32 min | Resolution: 760 x 250 | any other info...

Why?
We have large media collection.
For example - a lot of movies.
Before download user wan't know what he get (Quality, Lenght, Format, Codec info e.t.c.)

How:
I don't know how  ;)
I am not programmer. Just usability expert.
But I think it will be posible if HFS interract with mediainfo.dll

What is MediaInfo?
MediaInfo supplies technical and tag information about a video or audio file.
It is free software (free of charge and free access to source code: GPL or LGPL licence)
http://mediainfo.sourceforge.net/en (http://mediainfo.sourceforge.net/en)


What you think about this idea?
How to dificult release this?
Title: Re: Suggest: HFS + MediaInfo
Post by: slasherx on August 10, 2009, 07:28:41 PM
I would rather add info about the movie or so maybe cover and cast info etc.. don't know how.
Title: Re: Suggest: HFS + MediaInfo
Post by: rejetto on August 13, 2009, 02:35:31 PM
it's interesting, thanks for reporting!
i will put it in the to-do list.
while it is not really integrated with HFS, you can interact with it by using a similar script inside your template under [file] section

{.if|{.match|jpg;avi;mp3|%item-ext%.}|
  {.exec|C:\folder\mediainfo.exe %item-resource%|out=x.}
  here goes something else that will deal with the content of "x"
  {.^x.}
/if.}