[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-bugs-dist
Subject:    [amarok] [Bug 329244] New: Cloning a dynamic playlist alters date values
From:       robert marshall <robert () capuchin ! co ! uk>
Date:       2013-12-26 11:08:11
Message-ID: bug-329244-71684 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=329244

            Bug ID: 329244
           Summary: Cloning a dynamic playlist alters date values
    Classification: Unclassified
           Product: amarok
           Version: 2.8-git
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Playlists/Dynamic Playlists
          Assignee: amarok-bugs-dist@kde.org
          Reporter: robert@capuchin.co.uk
                CC: ralf-engels@gmx.de

I have a dynamic playlist which displays as follows
Match All
   Match all sequentially
      the next track from the album
      else search for tracknumber: 1
  and not lastplay:<6m

when I clone it all the lines are the same except the last one which is now
and not lastplay:30/06/1970
I then tried creating another dynamic list to include just a 'not
lastplay:<someTime' and that also cloned incorrectly.
I see that if I exit amarok and restart, then that playlist (which had 'not
lastplay:<6m') is re-created incorrectly again with a exact date from 1970 (6
months from 1/1/1970 rather than 6 months from now).

The playlist in dynamic.xml looks as follows
    <playlist>
        <title> Test</title>
        <andBias>
            <ifElseBias>
                <albumPlayBias>
                    <follow>directlyFollow</follow>
                </albumPlayBias>
                <searchQueryBias>
                    <filter>tracknumber:1</filter>
                </searchQueryBias>
            </ifElseBias>
            <tagMatchBias invert="1">
                <field>last played</field>
                <numValue>15552000</numValue>
                <numValue2>1354103450</numValue2>
                <condition>equals</condition>
            </tagMatchBias>
        </andBias>
    </playlist>


Reproducible: Always



Expected Results:  
I'd expect dynamic lists to clone correctly and be recovered correctly on
re-starting amarok

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Amarok-bugs-dist mailing list
Amarok-bugs-dist@kde.org
https://mail.kde.org/mailman/listinfo/amarok-bugs-dist
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic