mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-04-28 11:49:57 +00:00
docs(musiccast): Add docs for Yahama MusicCast
This commit is contained in:
parent
0dca49ab43
commit
2adb3bd052
3 changed files with 74 additions and 2 deletions
|
|
@ -23,6 +23,7 @@ import MalojaConfig from '!!raw-loader!../../../config/maloja.json.example';
|
|||
import MopidyConfig from '!!raw-loader!../../../config/mopidy.json.example';
|
||||
import MprisConfig from '!!raw-loader!../../../config/mpris.json.example';
|
||||
import MusikcubeConfig from '!!raw-loader!../../../config/musikcube.json.example';
|
||||
import MusiccastConfig from '!!raw-loader!../../../config/musiccast.json.example';
|
||||
import MPDConfig from '!!raw-loader!../../../config/mpd.json.example';
|
||||
import PlexConfig from '!!raw-loader!../../../config/plex.json.example';
|
||||
import PlexWebhookConfig from '!!raw-loader!../../../config/plex.webhook.json.example';
|
||||
|
|
@ -1857,8 +1858,6 @@ If the file being played in VLC does not have ID3 tags/metadata information mult
|
|||
|
||||
To extract this information use [named capture groups](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Named_capturing_group) in your expression matching the field that should be extracted: `artist` `title` and/or `album`. MS accepts multiple expressions, the first one that matches a filename will be used.
|
||||
|
||||
<!-- Would like to put this in a <details> node but the <> in the named capture groups are causing the parser to incorrectly parse them as an actual tag -->
|
||||
|
||||
Example usage in [a file-based config:](./?configType=file#webscrobbler-config)
|
||||
|
||||
```json5 title="config/vlc.json" {10-15}
|
||||
|
|
@ -1901,6 +1900,77 @@ If you find that VLC is incorrectly reporting track information (in its interfac
|
|||
]
|
||||
```
|
||||
|
||||
### [Yamaha MusicCast](https://usa.yamaha.com/products/contents/audio_visual/musiccast/index.html)
|
||||
|
||||
Monitor Musiccast device/receivers for music played on Network/USB/CD inputs.
|
||||
|
||||
##### URL
|
||||
|
||||
If only a domain/IP:PORT is provided to multi-scrobbler it will automatically append the default Musiccast API path. If your Musiccast device is located behind a custom URL (or reverse proxy) you should explicitly provide the base path to use.
|
||||
|
||||
EX
|
||||
|
||||
| `url` | Transformed URL |
|
||||
| --------------------------------------- | :---------------------------------------------- |
|
||||
| `http://192.168.0.101` | `http://192.168.0.101/YamahaExtendedControl/v1` |
|
||||
| `http://mydomain.com/reverseProxy/cast` | `http://mydomain.com/reverseProxy/cast` |
|
||||
|
||||
##### Scrobble Threshold
|
||||
|
||||
The data source of the music being played on the Musiccast device may not report a track duration to multi-scrobbler. In its default configuration this means mutli-scrobbler won't consider a track scrobblable until it has been played for 4 minutes (or 50% but that is impossible to determine). You should configure multi-scrobbler to scrobble after a more reasonable amount of time by using `scrobbleThresholds` in the [Musiccast Source file-based config](./?configType=file#yamaha-musiccast):
|
||||
|
||||
```json5
|
||||
[
|
||||
{
|
||||
"name": "myYamaha",
|
||||
"enable": true,
|
||||
"data": {
|
||||
"url": "192.168.0.101"
|
||||
},
|
||||
"options": {
|
||||
"scrobbleThresholds": { // scrobble track if...
|
||||
"duration": 90, // listened to for 90 seconds OR
|
||||
"percent": 50 // listened to 50% of the track
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
#### Configuration
|
||||
|
||||
<Tabs groupId="configType" queryString>
|
||||
<TabItem value="env" label="ENV">
|
||||
| Environmental Variable | Required? | Default | Description |
|
||||
| :--------------------- | :-------- | ------- | :----------------------- |
|
||||
| `MCAST_URL` | Yes | | The Musiccast device URL |
|
||||
</TabItem>
|
||||
<TabItem value="file" label="File">
|
||||
<details>
|
||||
Change `configureAs` to `source`
|
||||
|
||||
<summary>Example</summary>
|
||||
|
||||
<CodeBlock title="CONFIG_DIR/musiccast.json" language="json5">{MusiccastConfig}</CodeBlock>
|
||||
|
||||
</details>
|
||||
|
||||
or <SchemaLink lower objectName="MusicCastSourceConfig"/>
|
||||
</TabItem>
|
||||
<TabItem value="aio" label="AIO">
|
||||
<details>
|
||||
Change `configureAs` to `source`
|
||||
|
||||
<summary>Example</summary>
|
||||
|
||||
<AIOExample data={MusiccastConfig} name="musiccast"/>
|
||||
|
||||
</details>
|
||||
|
||||
or <SchemaLink lower objectName="MusicCastSourceConfig"/>
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
## Client Configurations
|
||||
|
||||
### [Maloja](https://github.com/krateng/maloja)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue