Add Internet Radio support (#2063)

* add internet radio support

* Add dynamic sidebar icon to Radios

* Fix typos

* Make URL suffix consistent

* Fix typo

* address feedback

* Don't need to preload when playing Internet Radios

* Reorder migration, or else it won't be applied

* Make Radio list view responsive

Also added filter by name, removed RadioActions and RadioContextMenu, and added a default radio icon, in case of favicon is not available.

* Simplify StreamField usage

* fix button, hide progress on mobile

* use js styles over index.css

Co-authored-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Kendall Garner
2023-01-15 20:11:37 +00:00
committed by GitHub
parent aa21a2a305
commit 8877b1695a
34 changed files with 1304 additions and 9 deletions
+23 -2
View File
@@ -160,6 +160,24 @@
"duplicate_song": "Add duplicated songs",
"song_exist": "There are duplicates being added to the playlist. Would you like to add the duplicates or skip them?"
}
},
"radio": {
"name": "Radio |||| Radios",
"fields": {
"name": "Name",
"streamUrl": "Stream URL",
"homePageUrl": "Home Page URL",
"updatedAt": "Updated at",
"createdAt": "Created at"
},
"notifications": {
"created": "Radio created",
"updated": "Radio updated",
"deleted": "Radio deleted"
},
"actions": {
"playNow": "Play Now"
}
}
},
"ra": {
@@ -188,7 +206,8 @@
"email": "Must be a valid email",
"oneOf": "Must be one of: %{options}",
"regex": "Must match a specific format (regexp): %{pattern}",
"unique": "Must be unique"
"unique": "Must be unique",
"url": "Must be a valid URL"
},
"action": {
"add_filter": "Add filter",
@@ -310,6 +329,8 @@
"noPlaylistsAvailable": "None available",
"delete_user_title": "Delete user '%{name}'",
"delete_user_content": "Are you sure you want to delete this user and all their data (including playlists and preferences)?",
"delete_radio_title": "Delete radio '%{name}'",
"delete_radio_content": "Are you sure you want to remove this radio?",
"notifications_blocked": "You have blocked Notifications for this site in your browser's settings",
"notifications_not_available": "This browser does not support desktop notifications or you are not accessing Navidrome over https",
"lastfmLinkSuccess": "Last.fm successfully linked and scrobbling enabled",
@@ -402,4 +423,4 @@
"toggle_love": "Add this track to favourites"
}
}
}
}