ShareShortcuts

Stream Anywhere

vultario
Dupliquer « Stream Anywhere »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que vultario soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
36K
Enregistré
0
Actions
27
Catégorie
Streaming
Version
1.0
Langue
EN

Aperçu

https://www.icloud.com/shortcuts/eff4ebdd30f045e78bd1aa6840db22b1

If you found this shortcut, please use this to install it!

Nouveautés

Version 1.0

First release

Historique des versions
1.0 8 janv. 2023

First release

Ce qu’il fait

27 actions
  1. Text
  2. Set Name
  3. Get Contacts from Input
  4. Choose from List
  5. Get Details of Contacts
  6. If
  7. Open URLs
  8. If
  9. If
  10. Open URLs
  11. If
  12. If
  13. Open URLs
  14. If
  15. If
  16. Open URLs
  17. If
  18. If
  19. Show Result
  20. If
  21. If
  22. Choose from Menu
    Settings
  23. Choose from Menu
    Version
  24. Show Result
  25. Choose from Menu
    About
  26. Show Result
  27. If

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#include 'actions/web'
#include 'actions/contacts'
#define color darkblue
#define glyph play

const Text = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Prime Video;;;;\nORG:A streaming service by amazon.;\nURL:https://apps.apple.com/us/app/amazon-prime-video/id545519333\nPHOTO;ENCODING=b:\nEND:VCARD\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Youtube;;;;\nORG:A Video streaming service by Google.;\nURL:https://youtube.com\nPHOTO;ENCODING=b:\nEND:VCARD\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Pluto TV;;;;\nORG:A completely free streaming service.;\nURL: https://apps.apple.com/us/app/pluto-tv-live-tv-and-movies/id751712884\nPHOTO;ENCODING=b:\nEND:VCARD\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Netflix;;;;\nORG:One of the most popular streaming services in the world.;\nURL: https://apps.apple.com/us/app/netflix/id363590051\nPHOTO;ENCODING=b:\nEND:VCARD\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Settings;;;;\nORG:Open Settings.;\nURL:if you read this, touch grass\nPHOTO;ENCODING=b:\nEND:VCARD"
const RenamedItem = setName(Text, "menu.vcf")
const Contacts = getContacts(RenamedItem)
const ChosenItem = chooseFromList(Contacts)
const Name = getContactDetail(ChosenItem, "Name")

if Name == "Pluto TV" {
	openURL("https://apps.apple.com/us/app/pluto-tv-live-tv-and-movies/id751712884")
} else {
}

if Name == "Netflix" {
	openURL("https://apps.apple.com/us/app/netflix/id363590051")
} else {
}

if Name == "Prime Video" {
	openURL("https://apps.apple.com/us/app/amazon-prime-video/id545519333")
} else {
}

if Name == "Youtube" {
	openURL("Youtube.com")
} else {
}

if !Name {
	show("Error 262: VCard error. Please try again later.")
} else {
}

if Name == "Settings" {
	menu "Settings" {
	item "Version":
		show("1.0")
	item "About":
		show("Your #1 streamer.")
	}
} else {
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de vultario

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité