Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/japlscript/obstunes
Java API for iTunes (macOS)
https://github.com/japlscript/obstunes
apple applescript itunes japlscript java macos
Last synced: about 2 months ago
JSON representation
Java API for iTunes (macOS)
- Host: GitHub
- URL: https://github.com/japlscript/obstunes
- Owner: japlscript
- License: lgpl-2.1
- Created: 2021-08-28T11:17:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-04T11:46:35.000Z (over 2 years ago)
- Last Synced: 2023-08-01T07:18:28.959Z (over 1 year ago)
- Topics: apple, applescript, itunes, japlscript, java, macos
- Language: Java
- Homepage:
- Size: 792 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![LGPL 2.1](https://img.shields.io/badge/License-LGPL_2.1-blue.svg)](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.tagtraum/obstunes/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.tagtraum/obstunes)
[![Build and Test](https://github.com/japlscript/obstunes/workflows/Build%20and%20Test/badge.svg)](https://github.com/japlscript/obstunes/actions)# Obstunes
*Obstunes* is a Java API for iTunes (macOS) based on
[JaplScript](https://github.com/japlscript/japlscript).## Installation
Obstunes is released via [Maven](https://maven.apache.org).
You can install it via the following dependency:```xml
com.tagtraum
obstunes```
The Maven artifacts also contain sources and javadocs.
If you are using [modules](https://en.wikipedia.org/wiki/Java_Platform_Module_System),
its name is `tagtraum.obstunes`.## Usage
To use the generated code, do something like this:```java
import com.tagtraum.macos.itunes.Application;public class PlayPause {
public static void main(final String[] args) {
Application app = Application.getInstance();
// then use app, for example, to toggle playback (if a track is in the player)
app.playpause();
}
}
```
## API
You can find the complete [API here](https://japlscript.github.io/obstunes/com/tagtraum/macos/itunes/package-summary.html).
## Shipping
For information about shipping apps with this library, please see
the corresponding notes about signing, notarization etc. in the
[JaplScript documentation](https://github.com/japlscript/japlscript/blob/main/README.md).