[haiku-bugs] Re: [Haiku] #12754: MediaPlayer record playcount in attribute

  • From: "xray7224" <trac@xxxxxxxxxxxx>
  • Date: Sun, 17 Jul 2016 09:31:10 -0000

#12754: MediaPlayer record playcount in attribute
----------------------------------------+----------------------------------
   Reporter:  xray7224                  |      Owner:  stippi
       Type:  enhancement               |     Status:  new
   Priority:  low                       |  Milestone:  Unscheduled
  Component:  Applications/MediaPlayer  |    Version:  R1/Development
 Resolution:                            |   Keywords:  playcount, attribute
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------------

Comment (by xray7224):

 Those are valid concerns however I'd argue it does make a lot of sense.

 The main reason for wanting it as a file system attribute is that it'd let
 you easily query using this attribute e.g. a playcount <= 0 would produce
 unplayed media useful for films or TV programmes one might want to watch.
 As a file system attribute it'd be visible via the standard BeOS API, the
 file manager and command line tools allowing the user to show/hide the
 field, sort by the field, query by the field, etc. The fact this would
 just be a common attribute stored on the file would mean that any
 mediaplayer for haiku could use it and changing mediaplayers wouldn't
 cause you to loose your play count like what happens in most other
 operating systems.

 I agree if you had multiple users who shared the same files it would
 likely not be ideal (though sometimes perhaps it might). Haiku however is
 largely a single user operating system and while technically new users can
 be created and files can be transferred to other systems or even volumes
 shared, I think the benefit of having it a generic attribute shared across
 the system and software outweighs the potential problems multi-users might
 cause. It's similar although granted not the same as the "rating"
 attribute, while ratings could be useful to other people, I think they'll
 often be personal to the user and what their tastes are.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12754#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: