Code Monkey home page Code Monkey logo

pms-osx-smartfolder's Introduction

OSX Smart Folder Plugin for Ps3 Media Server

OSX Smart Folders provide interface to Spotlight searches in Mac OS X. They are used to get easy access to specific types of files. You can create smart folders using Finder, by select new smart folder from the menu. While creating a smart folder, you provide specific conditions. Based on your conditions, the files will show up in Finder. When you save a smart folder, the default location is "Saved searches". It is located in ~/Library/Saved Searches. This is the folder which is used by OSX Smart Folder Plugin to show smart folder in media server. When plugin is active, there will be a new root folder and under that there is a folder for each smart folder, containing the files as they appear in Finder.

OSX Smart Folder Plugin is written in Groovy!

Tested with PS3 Media Server 1.72.0

Build

Prerequisities:

  • Gradle (build system)
  • PMS (1.5+) in local maven or gradle repository.

To build, type: gradle Easiest way to get gradle is via brew in OS X. The build system will embed groovy to the jar. You need to make sure you have pms version 1.5+ in your local maven or gradle repository. If you are able to compile PMS, just install it to local repo by: mvn install in PMS source root.

Use

Place the compiled jar (from build/libs/) to plugins/ directory in PMS. Make sure you delete old version before copying new one.

You can download the ready-made jar (ready to be used with current PMS):

Todo / Ideas

  • Currently OSX Smart Folder Plugin supports only folders saved in the default location. User can however save the folders to any location. It would be possible to user a config file where user can define custom paths for smart folders, but it's not implemented yet.

Changelog

  • 1.0.3 / 26.4.2013: Bug fix: Respect the scope of search. Minor optimization.

Copyright (c) 2012 Antti Niiles

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.