Ticket #213 (new feature)

Opened 6 months ago

Last modified 2 months ago

Patch to import M3U playlists

Reported by: ardbkr Owned by: momo-i
Priority: minor Milestone:
Component: Interface Design Version: 3.4.x
Keywords: m3u playlist Cc:

Description

Attached is a .patch file for Ampache v3.4 beta 3 that allows a user to import a .m3u playlist file into Ampache as an Ampache playlist.

After the patch has been applied you can import a playlist by clicking the "Home" icon and selecting "Import Playlist" from the menu. I used mostly existing code so I'm not certain of the robustness of the import routine. I successfully imported a .m3u file, but did not try to import a .pls file.

Attachments

ampache34b3_import_m3u.patch (3.5 kB) - added by anonymous 6 months ago.
.patch file

Change History

Changed 6 months ago by anonymous

.patch file

Changed 6 months ago by ardbkr

The patch also appears to work on v3.4 (final). I was able to successfully import a .m3u playlist after applying the patch to v3.4.

Changed 6 months ago by vollmerk

  • status changed from new to closed
  • resolution set to fixed

Thanks I included a modified version of this in 3.4.1

Changed 2 months ago by vetto

added to 3.4.1? seems to be missing in 3.5-Alpha1 (Build 003). Cant manually apply patch as lines referred to no longer exist as specified.

Changed 2 months ago by ardbkr

It also appears to not be included in v3.4.3. Applying the patch to v3.4.3 will result in errors, however, the patch will still work in v3.4.3.

Changed 2 months ago by vollmerk

  • status changed from closed to reopened
  • resolution fixed deleted

Thanks for the patch, I won't have time anytime soon to apply this, maybe Momo-i you could take care of it?

Changed 2 months ago by vollmerk

  • owner changed from vollmerk to momo-i
  • status changed from reopened to new

Add/Change #213 (Patch to import M3U playlists)

Author



Action
as new
 
Note: See TracTickets for help on using tickets.