Permalink
Browse files

changed file name for last track status file

  • Loading branch information...
1 parent 7d7078a commit 6813406c09e0c5220001ec57ca4021f184956612 @msoap committed Feb 3, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 helpers/on_status_display.pl
  2. +1 −1 mojolicious-radio-box.pl
  3. +1 −1 src/mojolicious-lite-radio-box-server.pl
@@ -17,7 +17,7 @@ =head1 DESCRIPTION
sub main {
my %params = @ARGV;
- open my $FH, '>', "$ENV{HOME}/.cmus/last_track.txt" or die "Error open file: $!\n";
+ open my $FH, '>', "$ENV{HOME}/.cmus/last_track.json" or die "Error open file: $!\n";
print $FH to_json(\%params) . "\n";
close $FH;
}
@@ -23,7 +23,7 @@ =head1 Mojolicious radio box
our %OPTIONS = (
ini_file => "$ENV{HOME}/.cmus/mojolicious-radio-box.ini",
- last_track_file => "$ENV{HOME}/.cmus/last_track.txt",
+ last_track_file => "$ENV{HOME}/.cmus/last_track.json",
playlist_file => "$ENV{HOME}/.cmus/playlist.pl",
);
@@ -23,7 +23,7 @@ =head1 Mojolicious radio box
our %OPTIONS = (
ini_file => "$ENV{HOME}/.cmus/mojolicious-radio-box.ini",
- last_track_file => "$ENV{HOME}/.cmus/last_track.txt",
+ last_track_file => "$ENV{HOME}/.cmus/last_track.json",
playlist_file => "$ENV{HOME}/.cmus/playlist.pl",
);

0 comments on commit 6813406

Please sign in to comment.