INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Windows => Topic started by: SirBoo on September 24, 2016, 01:09:35 pm

Title: Set Duration/Length for ISO Files
Post by: SirBoo on September 24, 2016, 01:09:35 pm
Hi,

i just started using JRiver and set up my movie list in the JRiver database. Unfortunately, most of my movies are ISO files and a recognized, that the duration/movie length information field can not be filled out (the data field is disabled for ISOs).

Is there any way (ideally automatically) to add a movie length information to ISO files in the JRiver database?
It would be great to know how long the movie takes before starting to watch it.

Thanks a lot in advance for all ideas or suggestions on that topic!
Title: Re: Set Duration/Length for ISO Files
Post by: blgentry on September 24, 2016, 03:39:05 pm
You might consider bulk converting your ISOs to MKVs.  Depending on how many you have and how much you value the "total package" of the ISO.

I find ISOs to be burdensome, difficult, and a waste of time.  But that's just me.

Brian.
Title: Re: Set Duration/Length for ISO Files
Post by: 8139david on September 27, 2016, 03:06:33 am
Here is a much simpler way.
Create two user fields:
Runtime: where you manually put the duration of iso movies.
Runtime_ defined as:
If(!isempty(firstnotempty([Duration],[Runtime])),FirstNotEmpty([Runtime],FormatNumber(Math([Duration, 0] / 60), 0)),)
Then show Runtime_ wherever you want it, eg in tooltips.
Title: Re: Set Duration/Length for ISO Files
Post by: SirBoo on October 02, 2016, 06:32:31 am
Thanks a lot for the great solution!

By defining the two fields i am now able to set the runtime of the iso movie manually.
However the runtime variable is not visible in the movie information if i move my cursor over the movie symbol.

In the following thread i read about modifiying/creating the "tooltip" field in order to add individual fields to the movie information:
https://yabb.jriver.com/interact/index.php/topic,99227.0.html (https://yabb.jriver.com/interact/index.php/topic,99227.0.html)

Could someone help me out here? After reading this thread i still don't know how to replace the standard field "Duration" in the tooltip window by my custom made "Runtime" field without changing the rest of the information in the tooltip window.

It would be great if someone could post the definition of the tooltip field here, since i am really not very good at jriver programming.
Title: Re: Set Duration/Length for ISO Files
Post by: 8139david on October 02, 2016, 07:41:28 am
You can use this code:
Code: [Select]
If(IsEqual([Media Sub Type],Movie,1), <font size="140"><b>delimit([Name],/ ,)<//b>delimit([Year],/ ,•/ )<//font>
delimit([Runtime_],/ mn/ •/ ,)delimit([File Type],/ ,)delimit([Dimensions],/ ,•/ )delimit([File Size],,•/ )

If(!IsEmpty([Genre]),<b>Genre:<//b> [Genre]
,)If(!IsEmpty([Description]),<b>Description:<//b> [Description]

,)If(!IsEmpty([Director]),<b>Director:<//b> [Director]
,)If(!IsEmpty([Country]),<b>Country:<//b> [Country]
,)If(!IsEmpty([Actors]),<b>Actors:<//b> [Actors]
,),)