Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed file name for last track status file

  • Loading branch information...
commit 6813406c09e0c5220001ec57ca4021f184956612 1 parent 7d7078a
@msoap authored
View
2  helpers/on_status_display.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;
}
View
2  mojolicious-radio-box.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",
);
View
2  src/mojolicious-lite-radio-box-server.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",
);
Please sign in to comment.
Something went wrong with that request. Please try again.