PLEASE READ BEFORE POSTING:

If you are willing to offer some compensation for a new feature or bug fix, you can use the Help Wanted forum. Start a new topic for each new feature idea, and when someone someone decides to do it, please edit the Roadmap Wiki which lists active work.
LinuxMCE Forums
May 24, 2013, 01:55:53 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Automatic Playlist generation  (Read 914 times)
Techstyle
Addicted
*
Posts: 662



View Profile WWW
« on: September 12, 2009, 02:32:02 pm »

One thing that later versions of Windows MCE 2005 has that we don't is automatic playlist generation.  Windows will create a list of the most frequently accessed Audio files into a 'most listened to' playlist.  It does go a little further with Most listened to in the evenings and most listened to on weekends.  I know the media is accessed via a database and that the media know if it has been played or not.  So I think the foundations are there.

Is this possible?  What do people think of this?
Logged

tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #1 on: September 12, 2009, 08:03:53 pm »

Yup, it is possible. You can either hook into the MH Play Media code, or you can trigger off the event "Media has started playing", create a new table in pluto_media for File_PlayCount, and Attribute_PlayCount, which you could use to join to file and attribute tables, so that you could use that information to create playlist entries on the file browser, to trigger those queries...

If you hook into the media handler, you can call MH Play Media with the contents of this virtual playlist... the user can then decide to edit and/or save this as a concrete playlist from the orbiter.

Yes, this is possible, somebody take on the challenge to do it.

-Thom
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #2 on: September 20, 2009, 02:45:11 pm »

The table pluto_media.File contains a last_viewed column. Maybe that is helpful.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!