i'd really like to just index a directory with all my files, have the album art and metadata automatically inserted and be presented with something like a grid view with albums/artists/songs. it's uninspiring and boring to dig through tons of files and directories with no album art or categorization, as you all know. having used the good itunes (back in the days) and spotify now i'm also realizing that i need more of a music library app – not just a player – to categorize, shuffle, search and discover my music. vlc is a very good video player, not a very good music player. i used to be happy with foobar2000 but now i'm on a mac, so i'm stuck with gnarly vlc. alot of which is just sitting there waiting to be discovered. They are located inside the Swinsian app bundle at Swinsian.app/Contents/Resources/Themes.ĭocumentation for the older version 1 theme API is available here.I have a lot of music on my external disks. The built-in themes can also be used as starting points for custom themes. If a theme with the same identifier is already installed it will be overwritten with the new one. Installing a theme is simple: just double click it and it should appear as an option in the Swinsian preferences. At this point the folder should change icon and appear as a theme file. If you have created the theme folder structure manually, rather than modifying the example theme, remember to first add the extension '.swinsiantheme' to the top theme folder. To distribute your theme to others you will need to compress it into a zip archive. These are playPause(), forward() and back(). Themes can control playback by calling methods of the window.Player object. If you wish your theme to display at a different size then implement the function and return a single rectangle object. By default themes are shown in a window that is 480 pixels wide and 200 high: anything larger than that will be cut off. The windowSize() function allows you to customise the size of the theme. Below is an example implementation of updateWithNewTrack: function updateWithNewTrack ( trackDictionary, paused, stopped ) This function is called by Swinsian when a track starts to play and you should use it to update the page with the new tags and artwork values. The index.html page must include a Javascript function called updateWithNewTrack(). The index.html page may reference other resources such as images in the Contents/Resources directory. The SwinsianThemeVersion value should be 2. The ThemeName value should be replaced with the name of your theme - this is the name that will show up in the Swinsian preferences window. The CFBundleIdentifier / 'Bundle Identifier' value should be something unique for example your name followed by the theme name. You should replace the values in the example file with ones appropriate for your theme. The ist file contains several fields that describe the theme. The proper location for these is shown in the file layout below: Info property list There are two files that must be present in every theme: the property list file that describes the theme (ist) and the main html file (index.html). To view the contents right click and select Show Package Contents. Themes are standard OS X bundles (folders that the system treats like files). Download it from the link below and expand the zip file: The easiest way to get started writing your own theme is to modify the example theme. Creating custom themesĭesktop art themes are written in HTML and Javascript. You can use themes to customise how the track tags and artwork are displayed. Swinsian allows you to display information about the current track on your desktop.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |