PATCH: Export playlist files to directory

Bug #885990 reported by Dustin Spicuzza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Wishlist
Dustin Spicuzza

Bug Description

It is useful to be able to export the files that are contained in a playlist to some arbitrary directory of the user's choosing. This patch implements that functionality. I apologize for the size, it's a bit big, but the file copy dialog was rather tricky and annoying to do (gio is terrible for error handling!). But it works great (though the overwrite resolve dialog leaves a bit to be desired).

Pushed to my dj_improvements branch.

Related branches

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :
Revision history for this message
Shane Doran (shanedoran77) wrote :

This is my first time ever using a patch, so maybe I did something stupidly wrong.

I have exaile version 0.3.2.2

Firstly I noticed that the patch file modifies oldmenu.py, which I don't have

I edited this to menu.py

I then ran it from the xlgui directory with:
patch -p1 --dry-run --verbose < ../export_files.diff

patching file menu.py worked correctly

patching file playlists.py:
Hunk #1 succeeded
Hunk #2 failed at 1037

patching file dialogs.py:
Hunks 1,3 and 6 succeeded
Hunk #2 failed at 37
Hunk #4 failed at 671
Hunk #5 failed at 693

I also checked by opening the various py files in gedit and looked for the
corresponding sections for the hunks that failed and I didn't find them

I would really like this to work because I haven't been able to get my mp3 player
installed in exaile. It doesn't show up when I add the USB media player plugin. I
also can't get my ipod working.

Shane

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

The patch is against the trunk version of exaile, and not against the current release. Current trunk works, but I've made a number of improvements that help improve stability and overall goodness -- download the version at https://code.launchpad.net/~dustin-virtualroadside/exaile/dj_improvements , and it already has this patch (and many others) integrated into it. The page lists all the patches that I've linked to it.

Alternatively, you can wait for the next version of exaile, which will probably have all the patches I've made.

Revision history for this message
Shane Doran (shanedoran77) wrote :

Ok. I've installed the patches and it works. Thanks for your help

Mathias Brodala (mathbr)
Changed in exaile:
assignee: nobody → Dustin Spicuzza (dustin-virtualroadside)
importance: Undecided → Wishlist
milestone: none → 0.3.3.0
status: New → Fix Committed
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.