topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 3:27 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Trout: show panel with lyrics from local text file  (Read 7699 times)

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,149
    • View Profile
    • Donate to Member
Trout: show panel with lyrics from local text file
« on: April 27, 2013, 05:38 PM »
Hi Skwire, maybe you will enjoy thinking about implementing this feature.


Let say i have a file
Black Sabbath - Paranoid.mp3
and a text file
Black Sabbath - Paranoid.LYR
with lyrics or something else.

How about a optional edit control to display that file content?


Same for text file
Black Sabbath - Paranoid.ALB
with information about the track list if this MP3 contains the full album.

If base name change, e.g. to 'Black Sabbath - Sabotage',
Trout would update the shown content IF a LYR or ALB file exists.
If not, those panels would show something like  'No corresponding file found.


EDIT: to make it easier to implement, understand and to handle those text files,
I change my mind to simple look for one file with TXT extension and the base name of the MP3.
So Black Sabbath - Paranoid.TXT nearby Black Sabbath - Paranoid.MP3
will contain all needed information and you would have to add only one additional panel.



Here is a mock up about what I have in mind with just notepad instead a real panel to make myself clear:

Clipboard01.pngTrout: show panel with lyrics from local text file
« Last Edit: April 27, 2013, 06:04 PM by AbteriX »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Trout: show panel with lyrics from local text file
« Reply #1 on: May 01, 2013, 12:47 AM »
I'd rather not add another panel but I can easily make the lyrics panel display a text file, if it exists, that matches the currently playing filename as you describe above.  If such a file doesn't exist, the panel would search for lyrics as it does now.  How about that?

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,149
    • View Profile
    • Donate to Member
Re: Trout: show panel with lyrics from local text file
« Reply #2 on: May 03, 2013, 12:46 PM »
I can easily make the lyrics panel display a text file, if it exists, that matches the currently playing filename as you describe above.
 If such a file doesn't exist, the panel would search for lyrics as it does now.  How about that?

Sounds nifty and reasonable!  Good idea, this would do it too.


.