module MultimediaParadise::GUI::InformationAboutAMp3FileModule

Constants

FONT_SIZE
#

FONT_SIZE

#
FONT_TO_USE_FOR_THE_MAIN_DESCRIPTION
#

FONT_TO_USE_FOR_THE_MAIN_DESCRIPTION

This is the font for use in the top header-bar. The user will typically see this font first.

Miriam Libre is better than Noto Serif, in my opinion.

#
ID_TAGGER_TO_USE_FOR_THE_MP3_FILES
#

ID_TAGGER_TO_USE_FOR_THE_MP3_FILES

This constant presently can be either :taglib or :id3lib.

:taglib is the default since as of 2021. I transitioned away from :id3lib for several reasons.

Depending on the value of this constant, a different library will be used for tagging the .mp3 files at hand.

#
LARGER_FONT
#

LARGER_FONT

#
N_TIMES_UNICODE_HORIZONTAL_SPACER
#

N_TIMES_UNICODE_HORIZONTAL_SPACER

#
PATH_TO_THE_LOCAL_AUDIO_DIRECTORY
#

PATH_TO_THE_LOCAL_AUDIO_DIRECTORY

#
SLIGHTLY_SMALLER_FONT
#

SLIGHTLY_SMALLER_FONT

#
SMALLEST_FONT
#

SMALLEST_FONT

#
USE_THIS_FONT
#

USE_THIS_FONT

#

Public Instance Methods

large_font_in_use?() click to toggle source
#

large_font_in_use?

This is like the main font, but a bit larger.

#
# File lib/multimedia_paradise/gui/shared_code/information_about_a_mp3_file/information_about_a_mp3_file_module.rb, line 91
def large_font_in_use?
  LARGER_FONT
end
main_font?() click to toggle source
#

main_font?

#
# File lib/multimedia_paradise/gui/shared_code/information_about_a_mp3_file/information_about_a_mp3_file_module.rb, line 98
def main_font?
  USE_THIS_FONT
end
Also aliased as: normal_font?
n_times_unicode_horizontal_spacer?() click to toggle source
#

n_times_unicode_horizontal_spacer?

#
# File lib/multimedia_paradise/gui/shared_code/information_about_a_mp3_file/information_about_a_mp3_file_module.rb, line 82
def n_times_unicode_horizontal_spacer?
  N_TIMES_UNICODE_HORIZONTAL_SPACER
end
normal_font?()
Alias for: main_font?
return_path_to_the_local_songs_directory_or_return_pwd() click to toggle source
#

return_path_to_the_local_songs_directory_or_return_pwd

#
# File lib/multimedia_paradise/gui/shared_code/information_about_a_mp3_file/information_about_a_mp3_file_module.rb, line 112
def return_path_to_the_local_songs_directory_or_return_pwd
  _ = "#{Dir.pwd}/".squeeze('/')
  if File.directory? PATH_TO_THE_LOCAL_AUDIO_DIRECTORY
    _ = PATH_TO_THE_LOCAL_AUDIO_DIRECTORY # Use this directory instead.
  end
  return _
end
slightly_smaller_font?() click to toggle source
#

slightly_smaller_font?

#
# File lib/multimedia_paradise/gui/shared_code/information_about_a_mp3_file/information_about_a_mp3_file_module.rb, line 105
def slightly_smaller_font?
  SLIGHTLY_SMALLER_FONT
end