INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Way to update number plays field?  (Read 1029 times)

wnshall2

  • Recent member
  • *
  • Posts: 19
Way to update number plays field?
« on: January 31, 2009, 12:37:16 am »

Would it be possible to update the "number plays" field (or a copy of it) based on a file's existence in a playlist?  Suppose I have a playlist containing songs I played somewhere else (my portable device, iTunes, or in my case SqueezeCenter).  I'd like to be able to increment the play count in MC based on the playlist.  Bonus points if I can handle multiple occurrences of the same song on the playlist.  Would this be possible somehow?

I've explored using an Expression Column to do it, which led to this question: can you do arithmetic in Expression Columns? for example could you have the value of an Expression Column be =[Number Plays]+1.  When I tried this I got "1+1" instead of "2".

Thanks,
Logged
Pages: [1]   Go Up