INTERACT FORUM

More => Old Versions => Media Center 17 => Topic started by: kimaru on September 25, 2012, 01:41:28 pm

Title: Creating a Last viewed AND last scipped List
Post by: kimaru on September 25, 2012, 01:41:28 pm
I think the number one feature of MC still is creating your own views. I usere it in many ways in my large collection of movieclips, which where created as footage for teaching movies.

I still try to create a special type of list, and I cant figure out how to set the sort algorithm for this:

I tried this:

Seemed logical to me, but it didn't work.

So any Ideas how I can create this list correctly?

Thanks,

Kimaru
Title: Re: Creating a Last viewed AND last scipped List
Post by: kimaru on September 25, 2012, 02:57:31 pm
Sorry, I forgot ;)

when exactly does MC set the last played date? on pressing play? on finished file? on pressing stop? And when exactiy does it set the last skipped date?

Thanks  :D
Title: Re: Creating a Last viewed AND last scipped List
Post by: MrC on September 26, 2012, 01:31:29 am
How about something like this to force non-played/non-skipped values to sort first, and recently played/skipped items with their larger date values to sort later:

IfElse(
   isempty([Last Played,0][Last Skipped,0]),          0,
   compare([Last Played,0], >, [Last Skipped,0]),  [Last Played,0],
   1,                                                                   [Last Skipped,0]
)

I think Last Played is updated near the end of the track (along with [# plays]), or if the track has advanced past 50% of its duration, and [last skipped] is updated if the track is skipped when playback is < 50% of its duration.
Title: Re: Creating a Last viewed AND last scipped List
Post by: kimaru on September 26, 2012, 11:19:58 am
Thank you very much for your quick answer :)

I tried this, but it doesn't seem to work as I expected it to.

It seems the problem is that MC doesnt update the last skipped and last played fields when I expected them to.

Is there a way to have a field update when play or skipp are pressed?

thank again :)
Title: Re: Creating a Last viewed AND last scipped List
Post by: MrC on September 26, 2012, 11:44:04 am
Not that I'm aware of.  These stats are managed and set internally by MC.

They are clear-only stats (but workarounds allow a way to manually set a timestamp by editing the field via an expression).
Title: Re: Creating a Last viewed AND last scipped List
Post by: kimaru on September 26, 2012, 12:17:28 pm
Thank you again :)

Can you please tell me how this works?
Title: Re: Creating a Last viewed AND last scipped List
Post by: MrC on September 26, 2012, 12:26:25 pm
Here's a more complex thread that should explain it, as well as how to modify certain date/time fields:

   http://yabb.jriver.com/interact/index.php?topic=71968.0 (http://yabb.jriver.com/interact/index.php?topic=71968.0)

and this is based on the simple workaround for changing some read-only fields:

   http://wiki.jriver.com/index.php/Changing_the_number_of_plays (http://wiki.jriver.com/index.php/Changing_the_number_of_plays)
Title: Re: Creating a Last viewed AND last scipped List
Post by: kimaru on September 26, 2012, 12:46:09 pm
Thank you again,

I read this post, but I don't understand how it could help me.

I know how to create a new field and use expressions for it. This shouldn't be a problem.

I need a way to update this new field with the current timestamp, when play or skip is pressed.

I think the only problem is the exact update moment, because MC updates only after playing some while.

 :(