Phyks (Lucas Verney)
ab7470d618
Webplayer can now handle a basic playlist, pushing multiple songs in the playlist and passing from one song to another. Some things that are not yet working: * Using previous and next buttons and going outside of the playlist breaks things. * Random / repeat modes are not yet implemented. * Playlist is not exposed in the UI at the moment. * Seeking in a song is not exposed in the UI. * When playing a song, webplayer does not automatically play the next one when reaching the end of the song.
60 lines
1.4 KiB
JavaScript
60 lines
1.4 KiB
JavaScript
const messages = [
|
|
{
|
|
id: "app.common.close",
|
|
defaultMessage: "Close",
|
|
description: "Close",
|
|
},
|
|
{
|
|
id: "app.common.cancel",
|
|
description: "Cancel",
|
|
defaultMessage: "Cancel",
|
|
},
|
|
{
|
|
id: "app.common.go",
|
|
description: "Go",
|
|
defaultMessage: "Go",
|
|
},
|
|
{
|
|
id: "app.common.art",
|
|
description: "Art",
|
|
defaultMessage: "Art",
|
|
},
|
|
{
|
|
id: "app.common.artist",
|
|
description: "Artist",
|
|
defaultMessage: "{itemCount, plural, one {artist} other {artists}}",
|
|
},
|
|
{
|
|
id: "app.common.album",
|
|
description: "Album",
|
|
defaultMessage: "{itemCount, plural, one {album} other {albums}}",
|
|
},
|
|
{
|
|
id: "app.common.track",
|
|
description: "Track",
|
|
defaultMessage: "{itemCount, plural, one {track} other {tracks}}",
|
|
},
|
|
{
|
|
id: "app.common.loading",
|
|
description: "Loading indicator",
|
|
defaultMessage: "Loading…",
|
|
},
|
|
{
|
|
id: "app.common.play",
|
|
description: "Play icon description",
|
|
defaultMessage: "Play",
|
|
},
|
|
{
|
|
id: "app.common.pause",
|
|
description: "Pause icon description",
|
|
defaultMessage: "Pause",
|
|
},
|
|
{
|
|
id: "app.common.playNext",
|
|
defaultMessage: "Play next",
|
|
description: "Play next icon descripton",
|
|
},
|
|
];
|
|
|
|
export default messages;
|