Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  wps code to check for presence of file?
« previous next »
  • Print
Pages: [1]

Author Topic: wps code to check for presence of file?  (Read 946 times)

Offline HiRsch

  • Member
  • *
  • Posts: 10
wps code to check for presence of file?
« on: January 24, 2012, 02:08:54 AM »
hi there,

is it possible to have the wps check for the presence of a specific file?
In my case this would be a syncronised lyrics file (*.lrc)

I want my WPS to show the word "Lyric" if an *.lrc file for the currently playing song is available (in the folder 'lyrics' of the currently playing song). The lrc file is named the same way as the music file, but for the file extension.

The files are stored and named like this:

/artist/album/song.mp3
/artist/album/lyrics/song.lrc

thanks in advance ;-)



Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: wps code to check for presence of file?
« Reply #1 on: January 25, 2012, 03:19:12 AM »
it is not currently possible and is an interesting idea though probably not going to happen.... far more likely is being able to hook lua into the wps which would let you do this
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline KiwiCam

  • Artist
  • Member
  • *
  • Posts: 92
Re: wps code to check for presence of file?
« Reply #2 on: January 28, 2012, 05:12:52 AM »
I like it. It would be nice to actually integrate the Lyrics total into a WPS theme.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  wps code to check for presence of file?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.071 seconds with 15 queries.