Skip to content

Commit

Permalink
file name for queue export
Browse files Browse the repository at this point in the history
  • Loading branch information
artemanufrij committed Nov 17, 2018
1 parent fd4d52d commit d464825
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Widgets/Views/Queue.vala
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ namespace PlayMyMusic.Widgets.Views {
button_export_playlist.tooltip_text = _("Export Queue…");
button_export_playlist.margin = 6;
button_export_playlist.clicked.connect (() => {
library_manager.export_playlist (playlist, _("Queue"));
var date_time = new GLib.DateTime.now_local ().format ("%Y-%m-%d %H:%M:%S");
library_manager.export_playlist (playlist, _ ("Queue from %s").printf (date_time));
});

controls.pack_start (button_export_playlist, false, false);
Expand Down

0 comments on commit d464825

Please sign in to comment.