(args []string)
| 2421 | } |
| 2422 | |
| 2423 | func containsCookiesArgument(args []string) bool { |
| 2424 | for _, arg := range args { |
| 2425 | if strings.HasPrefix(arg, "--cookies-from-browser") || strings.HasPrefix(arg, "--cookies") { |
| 2426 | return true |
| 2427 | } |
| 2428 | } |
| 2429 | return false |
| 2430 | } |
| 2431 | |
| 2432 | func runSpotifyPlay(ctx *snap.Context) error { |
| 2433 | if ctx.NArgs() != 1 { |