Skip to content

Commit

Permalink
fix backup warning
Browse files Browse the repository at this point in the history
  • Loading branch information
AF-1 committed Jan 22, 2024
1 parent 6c3f5f4 commit f5932c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RatingsLight/Common.pm
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ sub createBackup {
my $remote = $ratedTrack->{'remote'};
my $BACKUPrelFilePath = ($remote == 0 ? getRelFilePath($BACKUPtrackURL) : '');
$BACKUPtrackURL = escape($BACKUPtrackURL);
$BACKUPrelFilePath = escape($BACKUPrelFilePath) if $BACKUPrelFilePath;
$BACKUPrelFilePath = $BACKUPrelFilePath ? escape($BACKUPrelFilePath) : '';
my $BACKUPtrackMBID = $ratedTrack->{'musicbrainzid'} || '';
print $output "\t<track>\n\t\t<url>".$BACKUPtrackURL."</url>\n\t\t<urlmd5>".$urlmd5."</urlmd5>\n\t\t<relurl>".$BACKUPrelFilePath."</relurl>\n\t\t<rating>".$rating100ScaleValue."</rating>\n\t\t<remote>".$remote."</remote>\n\t\t<musicbrainzid>".$BACKUPtrackMBID."</musicbrainzid>\n\t</track>\n";
}
Expand Down
2 changes: 1 addition & 1 deletion RatingsLight/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>afc9f784-9381-2021-5477-479eca380cf5</id>
<name>PLUGIN_RATINGSLIGHT</name>
<module>Plugins::RatingsLight::Plugin</module>
<version>2.5.6</version>
<version>2.5.7</version>
<description>PLUGIN_RATINGSLIGHT_DESC</description>
<creator>AF</creator>
<importmodule>Plugins::RatingsLight::Importer</importmodule>
Expand Down

0 comments on commit f5932c2

Please sign in to comment.