module MultimediaParadise::GUI::TagMp3FilesModule
Constants
- HEIGHT
#¶ ↑
HEIGHT
¶ ↑#¶ ↑
- TITLE
#¶ ↑
TITLE
¶ ↑#¶ ↑
- WIDTH
#¶ ↑
WIDTH
¶ ↑#¶ ↑
Public Instance Methods
do_play_the_selected_song( _ = entry_file_path_text? )
click to toggle source
#¶ ↑
do_play_the_selected_song
¶ ↑
This method can be used to play the currently selected song.
If no song is selected, a pop-over message should appear.
#¶ ↑
# File lib/multimedia_paradise/gui/shared_code/tag_mp3_files/tag_mp3_files_module.rb, line 47 def do_play_the_selected_song( _ = entry_file_path_text? ) if _ and File.exist?(_) Thread.new { esystem "mpv #{_}" } else e 'No file exists at '+_.to_s+'.' return_popover( 'Please first select a .mp3 file that exists. You '\ 'can double-click on this entry above.', entry_file_path?, 20 ).popup end end
Also aliased as: play_the_selected_audio_file
main_file_text?()
click to toggle source
song_directory?()
click to toggle source