nabaztag2018 / pynab

Nabaztag en Python pour RaspberryPi
GNU General Public License v3.0
161 stars 54 forks source link

Surprise / Add the possibility to play specific sounds on a day or a period #72

Open ghost opened 4 years ago

ghost commented 4 years ago

For example, Valentine's day sounds (or NYE...).

ghost commented 4 years ago

Valentine's day is in a week :-) Here are the sound (french only !). saint valentin.zip

ghost commented 4 years ago

Nouvel an et Noel (french) noel.zip nouvel an.zip

f-laurens commented 3 years ago

Nouvel an et Noel (french)

Integrated in https://github.com/nabaztag2018/pynab/commit/4bfc79390acaac5e74bb792c8692e8416311b61c.

f-laurens commented 3 years ago

Valentine's day is in a week :-) Here are the sound (french only !).

Integrated in https://github.com/nabaztag2018/pynab/commit/c5a876f366b7aa24b6529f52ab2b7df1fa0e7ffc.

mehdichaouch commented 3 years ago

J'ai tapé des barres de rires en écoutant un peu au hasard les samples 👏 TIP TOP.

f-laurens commented 3 years ago

Is this issue relevant? Users can customize this to their taste by adding directories nabsurprised/sounds/nabsurprised/mm-dd or nabsurprised/sounds/fr_FR/nabsurprised/mm-dd containing sound files, which will then be played on day dd of month mm.

mrcroupotin commented 3 years ago

I have done it for the birthday of my family. So great 😀. I have posted some instructions in the forum. But, not everyone will have the ability to do it. And probably others users will have their own idea of messages they want to play on a specific day. It would be much simpler thru a web interface, no?

f-laurens commented 3 years ago

It would be much simpler thru a web interface, no?

What would the detailed specification for this interface be?

mrcroupotin commented 3 years ago

An interface with a date selector and a File chooser item would do the trick. A folder with the mm-dd naming is then created and the files chosen by the user are uploaded onto it.

f-laurens commented 3 years ago

An interface with a date selector and a File chooser item would do the trick. A folder with the mm-dd naming is then created and the files chosen by the user are uploaded onto it.

Fine. A locale selector will be needed too, depending on whether the user wants to consider the file to upload as locale-specific or not. Now what we need is a PR to implement this. Any volunteer?...

Also, what about the cleanup (if/when users want to remove files they have uploaded)?