INTERACT FORUM
More => Old Versions => Media Center 17 => Topic started 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 want to create a list of all movie files
- I want files that I haven't viewed for a long time, and which I haven't skipped to be first
- Files that I skipp while I view them and files that view should be put at the end of the list
I tried this:
- I created a new fibrary field called LPS
- I filled it with either last skipped or last played, depending on which value is higher >>> If(Field(Zuletzt übersprungen,0)>=Field(Zuletzt gespielt,0)),Field(Zuletzt übersprungen,0) ,Field(Zuletzt gespielt,0)
- Then I tried to simply sort LPS
Seemed logical to me, but it didn't work.
So any Ideas how I can create this list correctly?
Thanks,
Kimaru
-
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
-
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.
-
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 :)
-
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).
-
Thank you again :)
Can you please tell me how this works?
-
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)
-
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.
:(