lib/quran/audio/mp3.rb in quran-audio-0.3.2 vs lib/quran/audio/mp3.rb in quran-audio-0.3.3
- old
+ new
@@ -20,18 +20,18 @@
##
# @return [String]
# Returns the path to an MP3 file on a remote HTTP server
def remote_path
filename = [surah.to_s.rjust(3, "0"), ayah.to_s.rjust(3, "0"), ".mp3"].join
- File.join format(recitation.remote_path, bitrate:), filename
+ File.join format(recitation.path, bitrate:), filename
end
##
# @return [String]
# Returns the path to an MP3 file on disk
def local_path
File.join(
- format(recitation.dest_dir, sharedir:),
+ format(recitation.destdir, sharedir:),
surah.to_s,
"#{ayah}.mp3"
)
end