|
Album duration possible?
|
|
01-03-2022, 10:37
(This post was last modified: 01-03-2022 14:17 by simbun.)
Post: #7
|
|||
|
|||
RE: Album duration possible?
(01-03-2022 01:31)entdgc Wrote: Followed your instructions and worked a treat....That's good to hear. I assume you mean the formatting in terms of the MinimServer .displayFormat? If you're talking about formatting the duration itself you're probably best to look at using printf e.g. Code: select pprintf('%02dh:%02dm:%02ds', sum(length_seconds)/3600, (sum(length_seconds)%3600)/60, sum(length_seconds)%60) as durationIf you have something specific in mind I can help you with that as it can get a bit messy. (01-03-2022 01:31)entdgc Wrote: The only 'fault' in your instructions was that foo_sqlite.fb2k-component was not on my systemRTFM ;-) (27-02-2022 19:32)simbun Wrote: Download the latest foobar and the sqlite plugin. (01-03-2022 01:31)entdgc Wrote: Was the code you have written in SQL language?When you're in that console you're working within a SQLite (3.20.0) environment. From the home page: Quote:SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the world. SQLite is built into all mobile phones and most computers and comes bundled inside countless other applications that people use every day. Most of what you'll be able to use in that environment is native SQLite, but the plugin also comes with MetaDB_Module(s) which allow you to interact with foobar playlists and files, and a bunch of other custom functions that aren't available to SQLite. If you run Code: select * from playlist
A couple of examples of what I've used this tool for:
I'll subscribe to this thread so if you or anyone else has problems I'll (hopefully) be able to help, as I'm as passionate about foobar as I am about MinimServer. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



