https://github.com/phramusca/jamuz-raspberry
https://github.com/phramusca/jamuz-raspberry
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/phramusca/jamuz-raspberry
- Owner: phramusca
- License: agpl-3.0
- Created: 2022-10-25T17:24:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-08T20:42:50.000Z (over 3 years ago)
- Last Synced: 2025-01-07T23:51:53.274Z (over 1 year ago)
- Language: C#
- Size: 58.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JaMuz-Raspberry
/!\ UNDER DEVELOPMENT /!\
A Web Api to play audio files from JaMuz database on a Raspberry, from Jamuz-Remote.
## Prerequisites
### Raspberry
- [Install Raspberry Pi OS](https://www.raspberrypi.com/software/) (by Raspberry)
- Install LibVLC using "[Getting started on LibVLCSharp for Linux](https://code.videolan.org/videolan/LibVLCSharp/-/blob/3.x/docs/linux-setup.md)" guide by VLC team.
- Deploy the application
- Enable SSH and install dotnet on your Raspberry using "[Deploy .NET apps to Raspberry Pi](https://learn.microsoft.com/en-us/dotnet/iot/deployment)" guid by Microsoft.
- Here is my script to deploy and connect to Raspberry. You can adapt it to suit your case:
```bash
sshfs pi@192.168.1.145:/ /media/raph/recalbox/
rsync -a --progress --exclude={'**/bin**','**/obj'} ~/Documents/04-Creations/Dev/Repos/JaMuz-Raspberry /media/raph/recalbox/home/pi/Documents
ssh pi@192.168.1.145
```
### Linux
- [Install dotnet on Ubuntu](https://learn.microsoft.com/fr-fr/dotnet/core/install/linux-ubuntu) (by Microsoft)
- [Getting started on LibVLCSharp for Linux](https://code.videolan.org/videolan/LibVLCSharp/-/blob/3.x/docs/linux-setup.md) (by VLC)
### Windows
- [Install dotnet](https://dotnet.microsoft.com/en-us/download) (by Microsoft)
## Run
```bash
cd Documents/JaMuz-Raspberry/
cd ~/Documents/JaMuz-Raspberry/JaMuz-Raspberry/
dotnet run
```
## Resources
- [Tutoriel : Création d’une API web avec ASP.NET Core](https://learn.microsoft.com/fr-fr/aspnet/core/tutorials/first-web-api?view=aspnetcore-6.0&tabs=visual-studio) (by Microsoft)
- Eventually, [Use C# and .NET to develop your own GUI apps for the Raspberry Pi](https://tutorials-raspberrypi.com/write-raspberry-pi-gui-apps-c-sharp-dot-net/) [check if it works with Avalonia first]