Yate implements its own URL scheme so that files can be opened via a URL. The URL can be issued from a browser or an application.
The following forms are available:
- yate://load full path to file or folder
- An audio file will be loaded into Yate's main window. Note that what gets loaded depends on the current Open Mode. A folder will be opened as if dragged to Yate's main window. Again, what gets loaded depends on the current Open Mode. An image file will be opened in the Artwork Viewer. JSON and plist files will be opened in the Container Viewer.
example: yate://load/Volumes/Music/artist/album/file.m4a
- yate://view full path to file
- This form is used when you want to always open an audio file or image file in the Artwork Viewer. When an audio file is specified it's default artwork item (if any) will be displayed.
example: yate://view/Users/me/Pictures/image.jpg
- yate://preview full path to audio file
- Yate will open the file in the Mac's preview system. Note that not all audio file types will automatically play.
example: yate://preview/Volumes/Music/artist/album/file.m4a
- yate://play/application name full path to audio file
- Yate will open the file in the in the specified application. Note that the application must respond to the Finder's Open With functionality.
example: yate://play/Vox/Volumes/Music/artist/album/file.m4a