View Issue Details

IDProjectCategoryView StatusLast Update
0005382MMW v4Exportpublic2011-05-06 17:43
ReporterTeknojunkyAssigned To 
PriorityurgentSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product Version3.1 
Target Version4.1 
Summary0005382: Export/Import of auto-playlists (and filters)
DescriptionMM should provide some native way to export and import auto-playlists and filters.

Ideally, a new file type could be created to make it easy to indicate, exchange between users, and re-import into MM. .MPL, .MMAPL, or some variation thereof.

Double clicking of an exported auto-playlist file would prompt the user if they wanted to import it, provide the option to modify the name and location to store it within the playlist tree.

Depending on implementation and feasibility, it would be good to support import/export of multiple auto-playlists within a single file, or at least support of an exported auto-playlist via the add/rescan files in the same manner that .m3u files are scanned/imported.

Since auto-playlist query data appears to be stored in the database similar to ini form, I suggest that an exported playlist file be a simple text file with querydata and other necessary fields in the same manner.

For example, MS IE url favorite .url are implemented in such a manner, like:

[InternetShortcut]
URL=http://www.google.com/
Modified=0086D3A8970AC30166
IconFile=http://www.google.com/favicon.ico
IconIndex=1
IDList=
[MyIE2]
VisitTimes=2174
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2
[DEFAULT]
BASEURL=http://www.google.com/

An exported auto-playlist could consist similarly of a text file containing

[Common]
QueryVersion=1
QueryType=2

[Basic]
SongTitle=
Artist=
Album=
Genre=
Comment=
Lyrics=
AnyField=
YearFrom=-1
YearTo=-1
SortOrder1=
SortOrder2=
SortOrder3=

[Adv]
ConditionsCount=3
OrdersCount=3
LimitTop=1
Top=100
LimitMB=0
MaxMB=650
LimitLen=0
MaxLen=74

[AdvCond1]
DBField=STAT
Condition=201
Value=

[AdvCond2]
DBField=Songs.Rating
Condition=40
Value=70

[AdvCond3]
DBField=Songs.PlayCounter
Condition=32
Value=0

[AdvSO1]
Order=Songs.PlayCounter
Asc=0

[AdvSO2]
Order=Songs.LastTimePlayed
Asc=1

[AdvSO3]
Order=Songs.Rating
Asc=1

along with any of the other neccessary data required to re-import.

Alternatively, the query and other data could be stored as text in xml format.
TagsNo tags attached.
Fixed in build

Activities

There are no notes attached to this issue.