New View: Recently Added (1 Viewer)

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    • Thread starter
    • Moderator
    • #11
    Ok, now you've challenged me. :)
    The next public SVN build will allow you that.

    The "Date" in the Sort option of a view, was sorting by Release Year (TYER id3 tag), which is a bit wrong.
    Changed it so tha "Date" sorts now after "Date Added" and the new parameter "Year" will sort by "Release Year".

    with that you can specify:
    Album LIMIT=10, SORT=Date, ASC=Unchecked

    this will give you the last 10 albums added to the database.

    have fun
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,474
    1,822
    Located
    Home Country
    Norway Norway
    post_thanks.gif
    <---- button for it :D
     

    Slurm

    MP Donator
  • Premium Supporter
  • December 16, 2006
    301
    33
    57
    Graz
    Home Country
    Austria Austria
    Ok, now you've challenged me. :)
    The next public SVN build will allow you that.

    The "Date" in the Sort option of a view, was sorting by Release Year (TYER id3 tag), which is a bit wrong.
    Changed it so tha "Date" sorts now after "Date Added" and the new parameter "Year" will sort by "Release Year".

    with that you can specify:
    Album LIMIT=10, SORT=Date, ASC=Unchecked

    this will give you the last 10 albums added to the database.

    have fun

    Has there been a change, because it doesn't work anymore (at least for me).

    When I add this view I only get one album (and it takes quite a time to show it).

    Added my MusicViews.xml.
     

    Attachments

    • MusicViews.xml
      30.6 KB

    Slurm

    MP Donator
  • Premium Supporter
  • December 16, 2006
    301
    33
    57
    Graz
    Home Country
    Austria Austria
    AW: New View: Recently Added

    Sorry to ask again, but does this work with current svn?
     

    Slurm

    MP Donator
  • Premium Supporter
  • December 16, 2006
    301
    33
    57
    Graz
    Home Country
    Austria Austria
    AW: New View: Recently Added

    Tested with 1.1.0 RC1 and still it only shows 1 album.

    Since I really like this view, I investigated this strange behaviour a bit further.

    I checked the logs and the sql-statement in it should give me 50 albums: select * from tracks group by strAlbum, strAlbumArtist order by dateAdded desc Limit 50

    But I get only one album, so the problem obviously occurs later.

    Is there anything else I can do to find out where the problem is?
     

    spoonyluv

    MP Donator
  • Premium Supporter
  • July 12, 2008
    38
    0
    Fantastic work. This is a great view. Thanks much.

    I don't suppose there's a way to have it list the artist name along with the albums, is there?


    Spoony
     

    Users who are viewing this thread

    Top Bottom