Compare commits

..
60 Commits
Author SHA1 Message Date
bruno 56bbfb1e6a Rework alarms functions 2023-08-01 13:51:36 +02:00
bruno 20c8ae162b New function: search_tracks_from_youtube()
-update help() et help_cli()
-update rename()
2023-03-29 07:31:57 +02:00
bruno d2be4d95f3 cleaning code 2023-03-19 08:12:27 +01:00
bruno 4b6a4de17a shellcheck
correct some warnings
2023-03-18 21:05:26 +01:00
bruno 4622f0ef69 18-03-2023
-new _trim() , play_queue() functions
-modify search_artist_from_library() , list_fav() , list_queue() , remove_from_queue() with fzf

-macros.txt
2023-03-18 16:04:26 +01:00
bruno b2455fb484 stop all devices
-new function stop_all()
2023-03-13 12:33:38 +01:00
bruno deaa6cbe17 Bugfix
-prev()
-next()
-shazam()
-vol-
2023-03-13 09:27:25 +01:00
bruno 8adf31b467 clean code 2023-03-13 08:56:12 +01:00
bruno bdc25bc0a3 rewrite search_tracks_from_youtube()
update search_tracks_from_youtube(): now use youtube api for search (more faster than ytsearch)
completion: add search_tracks_from_youtube()
2023-03-11 15:57:24 +01:00
bruno 59d5eb4e3e search_tracks_from_youtube()
search_tracks_from_youtube(): recherche des pistes sur youtube et les joue sur le sonos
2023-03-09 20:43:53 +01:00
bruno a2299e9c70 shellcheck
-correct 4 errors
2023-03-02 07:01:03 +01:00
bruno 8814740b6f bugfix 2023-03-01 14:23:24 +01:00
bruno 5aaf543ad3 play_track_from_library()
-replace play_track_from_library() by search_tracks_from_library(): usage of fzf
2023-02-28 09:13:02 +01:00
bruno 7daeac02f2 bugfix
in functions art(), _tia(), search_artist_from_library(), search_album_from_library()

remove functions play_album_from_library() and play_artist_from_library()
2023-02-24 12:51:33 +01:00
bruno 267373b209 22-02-2023
-rename functions: minfo() in _minfo()
, display_cover_art() in _display_cover_art(), is_int in _is_int
-new function: art() tia(), search_artist_from_library(), search_album_from_library()
2023-02-22 13:35:08 +01:00
bruno ec3efed2df curl_url()
-new function curl_url():
return $status_uri (ok=200), $icy_name (stream’s name)

-prefix functions curl_url, display_cover_art, minfo, is_int by _
2023-02-17 11:29:17 +01:00
bruno a50fbf8e03 test uri status
-play_shared_link(): test uri status = 200
2023-02-16 11:30:46 +01:00
bruno 93d9959bac make_playlist()
rework make_playlist() with fzf
2023-02-16 10:08:56 +01:00
bruno 507ca63f0e play_shared_link
play_shared_link(): rework with fzf
2023-02-14 14:41:15 +01:00
bruno 7abf5bc721 play_local_audio_dir()
play_local_audio_dir(): rework function with fzf
2023-02-14 14:12:18 +01:00
bruno 5d8f01d8e3 display_cover_art
feature:
- new display_cover_art() function (require exiftool and iTerm2)
- rework play_local_audio_file() function (support fzf)
2023-02-11 23:10:39 +01:00
bruno 555a86dc27 copy_alarms
features:
- copy_alarm() to speaker
2023-02-10 12:50:52 +01:00
bruno f1a532f75d fzf
-new fzf arguments
2023-02-10 11:40:34 +01:00
bruno fbf69fdcd3 feature
-rework modify_alarms() with fzf
-add sort to fzf
2023-02-09 19:53:33 +01:00
bruno 58bd538092 spec()
-update spec() as create_alarms()
2023-02-08 17:58:11 +01:00
bruno 33c8eb68f0 08-02-2023
remove_alarms(): remove a series of <Alarm_ID>
create_alarms(): remork the function and add some fzf to options
2023-02-08 17:43:43 +01:00
bruno c5d7d3f16d Bugfix
-move_alarms()
-snooze_alarms()
2023-02-07 10:27:11 +01:00
bruno d9255dc165 Update
-update bash_completion
-update cli help
2023-02-06 14:35:47 +01:00
bruno 12385f639a Alarms
-new functions:
 * move_alarm() and
 * spec() for modify alarms
 * modify_alarms()
 * enable_alarms()

-rebuild the list_alarms()
-update remove_alarms()
2023-02-06 10:13:56 +01:00
bruno 953a115598 Alarms menu
-new menu alarm
-rework the main menu (soco())
2023-02-03 06:56:22 +01:00
bruno 37637d11e7 Create alarms
-new create_alarms() function
2023-02-02 19:16:50 +01:00
bruno 1fd4a10a5c Bugfix
-add a timeout to shazam() for launching soco() offline
2023-02-01 16:34:50 +01:00
bruno 80e3bf39be Cosmetic
-center titles menu
2023-02-01 09:02:55 +01:00
bruno 9a1b1de529 Bugfix
-add some help
-correct some $playing
2023-01-29 07:37:13 +01:00
bruno ec7c4dd295 Rework start/stop/prev/next/pause actions
-bugfix in shazam()
-don’t display error in prev/next if no applicable for the audio source
2023-01-28 10:26:55 +01:00
bruno 34edd44cd7 Volume
-add a step for up/down volume
2023-01-28 07:18:43 +01:00
bruno 8317260816 19-01-2023
-correct shebang install.sh
-update help
2023-01-19 10:15:50 +01:00
bruno a214e5e908 install.sh
-install script and completion
2023-01-18 06:46:13 +01:00
bruno aca0a37746 Auto-completion
-à mettre dans /opt/homebrew/etc/bash_completion.d
2023-01-18 06:44:09 +01:00
bruno f207aa6133 Rename some functions 2023-01-18 06:42:06 +01:00
bruno 9fd0f0e702 Version 2
Major revision.
-functions can be called directly
-help about functions
-‘Salon’ is the default Sonos device
-renamed many functions
-party mode
-play_local_dir
-play_shared_link
2023-01-15 09:05:51 +01:00
bruno b25515c233 11-11-2021 2021-11-11 11:23:09 +01:00
bruno 5a4e50d02f bugfix 2021-03-09 06:32:59 +01:00
bruno 25df514fff Improvement
-by default, search in $HOME/Music for playlist. and local audio files
-search track/artist/album in library
2021-02-03 09:41:44 +01:00
bruno 1f22224589 Bugfixs
correct a bug if there are more than 9 tracks per albums
2021-01-31 11:20:42 +01:00
bruno 2c025708c2 New feature
+play radio stream, like http://jazzradio.ice.infomaniak.ch/jazzradio-high.aac
2021-01-31 08:28:08 +01:00
bruno e85dfeac9a improvement
add display info in:
-play_album_from_library
-play_artist_from_library
-play_track_from_library
functions
2021-01-30 20:33:56 +01:00
bruno 5d6b219be7 New feature
+ play locals files
2021-01-30 10:21:15 +01:00
bruno b26c21c2c9 new feature
Features:
+ play local .m3u playlist
2021-01-28 07:11:22 +01:00
bruno 890d0ff3e5 Security
-mask GITHUB_TOKEN
2021-01-27 17:53:01 +01:00
bruno f31c4c2b15 new features
Features:
+ play favorite from TuneIn radio
+ play local .m3u playlist (alpha)
+ Apache License 2.0
2021-01-27 17:26:28 +01:00
bruno 6551679d37 volume +/-
Features:
+ volume +/-
+ new menus
2021-01-24 08:31:17 +01:00
bruno 9c8c2cded2 Cosmetics bugfix
+help
2021-01-21 14:04:30 +01:00
bruno a05c4f0309 Dynamic menu
Feature:
+all Sonos device are automatically discover and have an entrie in principal menu.
2021-01-21 09:10:59 +01:00
bruno e3fc8b6755 soco-cli-gui.sh
Features:
+check last version and update for soco-cli
2021-01-16 12:04:35 +01:00
bruno 93c94497fb README.md 2020-12-29 09:32:30 +01:00
bruno 8551175aee New name 2020-12-29 09:30:54 +01:00
bruno 6586966faf Create README.md 2020-12-29 09:26:33 +01:00
bruno 5fc7eb036b License Apache 2.0 2020-12-29 09:25:21 +01:00
bruno 3129436b5b 1st commit 2020-12-29 08:54:09 +01:00
+1 -1
View File
@@ -54,7 +54,7 @@ default="Salon"
dest_yt=$HOME/Music/YouTube
# YouTube (api key and nb results)
APIKEY="GM_APIKEY"
APIKEY="AIzaSyBtEqykacvWuWiLqq1-eIBZBrJzAYEx_xU"
NORESULTS=5
display_art=true