一键导入
subsonic-protocol
Rules and guidelines for implementing Subsonic/OpenSubsonic API integrations, including a full technical reference for the REST API.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rules and guidelines for implementing Subsonic/OpenSubsonic API integrations, including a full technical reference for the REST API.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | subsonic-protocol |
| description | Rules and guidelines for implementing Subsonic/OpenSubsonic API integrations, including a full technical reference for the REST API. |
This skill provides mandatory guidelines and a complete technical reference for implementing Subsonic API methods and managing audio streams.
BEFORE implementing ANY new Subsonic API method or modifying existing SDK logic, you MUST consult the technical reference provided in this skill. Use the online documentation at subsonic.org/pages/api.jsp ONLY as a last resort if specific details (like specific XML schema examples) are missing from this file.
.view method name corresponds EXACTLY to the specification (e.g., getPlayQueue vs getJukeboxPlaylist).v parameter requirement for the method. Most modern servers support up to 1.16.1.subsonic-response object.status field (ok or failed).jukeboxControl. Use getPlayQueue as a more universal alternative for retrieving the current stream.getCoverArt method with the ID of the song/album.t (token) and s (salt) authentication method rather than sending plain text passwords.All methods take the following parameters:
u: Usernamet: Authentication token (md5(password + salt))s: Salt (random string)v: API version (e.g., 1.16.1)c: Client identifierf: Format (json or xml)ping: Test connectivity.getLicense: Get license details.getMusicFolders: Get top-level folders.getIndexes: Get artist index (file-based).getMusicDirectory: List files in a directory.getGenres: List all genres.getArtists / getArtist: Browse by ID3 tags.getAlbum / getSong: Get details for album/song.getVideos: List video files.getVideoInfo: Detailed video info.search3 (Recommended): Search artists, albums, songs by ID3 tags.getAlbumList2: Random, newest, top rated albums.getRandomSongs: Random songs matching criteria.getSongsByGenre: Songs in a specific genre.getNowPlaying: Currently played by all users.getPlayQueue (Recommended for Queue): Get user's current play queue.savePlayQueue: Save current queue state.getPlaylists / getPlaylist: Manage saved playlists.createPlaylist / updatePlaylist / deletePlaylist.stream / download: Get media binary data.hls: HLS playlist for video/audio.getCaptions: Subtitles for video.getCoverArt: Album/artist images.getLyrics: Search for song lyrics.getAvatar: User personal images.star / unstar: Favorite items.setRating: Rate media.scrobble: Register playback.getShares / createShare: Public sharing links.getChatMessages / addChatMessage: Server chat.jukeboxControl: Remote control of server audio hardware.
action=get: Get current jukebox playlist/status.action=start/stop/skip/add/clear/remove/shuffle/set/setGain.getPodcasts / getNewestPodcasts.getInternetRadioStations.URL: rest/jukeboxControl.view
Parameters:
action: get, status, set (index), start, stop, skip, add (id), clear, remove (index), shuffle, setGain (gain).index: Used by set and remove.offset: (Since 1.7.0) used by skip.id: Used by add and set.gain: Float (0.0 to 1.0) for setGain.URL: rest/getPlayQueue.view
Returns the state of the play queue, including tracks, current track, and position.
URL: rest/getArtists.view
Parameters:
musicFolderId: Optional.ifModifiedSince: Optional.(Note: Full detailed specifications for all other methods follow similar patterns documented in the source reference content.md)
Best practices for building scalable Web Components with Lit. Includes component patterns, Reactive Controllers, state management, and Tailwind v4 integration.
Rules and patterns for composing and reusing Tailwind CSS classes using @apply, @utility, and component-based abstraction.