Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Hulu default search path #706

Merged
merged 2 commits into from
Dec 25, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions shortcuts/overrides.xml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@
<shortcut label="Music Video Artists" type="571" icon="special://skin/extras/icons/musicvideo.png">DefaultSearch-MusicVideoArtists</shortcut>
<shortcut label="Youtube" type="571" icon="special://skin/extras/icons/youtube.png">DefaultSearch-Youtube</shortcut>
<shortcut label="Netflix" type="571" icon="special://skin/extras/icons/netflix.png">DefaultSearch-Netflix</shortcut>
<shortcut label="Hulu" type="571" icon="special://skin/extras/icons/hulu.png">DefaultSearch-Hulu</shortcut>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use spaces instead of tabs for indentation

<shortcut label="Spotify Artists" type="571" icon="special://skin/extras/icons/spotify.png">DefaultSearch-SpotifyArtists</shortcut>
<shortcut label="Spotify Albums" type="571" icon="special://skin/extras/icons/spotify.png">DefaultSearch-SpotifyAlbums</shortcut>
<shortcut label="Spotify Songs" type="571" icon="special://skin/extras/icons/spotify.png">DefaultSearch-SpotifySongs</shortcut>
Expand Down
3 changes: 3 additions & 0 deletions shortcuts/template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,9 @@

<property name="widgetPath" tag="property" attribute="name|list" value="DefaultSearch-Netflix">plugin://plugin.video.netflix/directory/search/search/?query=</property>
<property name="widgetPath2" tag="property" attribute="name|list" value="DefaultSearch-Netflix">/</property>

<property name="widgetPath" tag="property" attribute="name|list" value="DefaultSearch-Hulu">plugin://slyguy.hulu/?_=search&query=</property>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same deal here as in Disney+.

Need to use &amp; instead of & due to being xml. Also, use spaces instead of tabs to ensure consistent identation.

<property name="widgetPath2" tag="property" attribute="name|list" value="DefaultSearch-Hulu">/</property>

<property name="widgetPath" tag="property" attribute="name|list" value="DefaultSearch-Addons">addons://search/</property>
<property name="widgetPath" tag="property" attribute="name|list" value="DefaultSearch-SpotifyArtists">plugin://plugin.audio.spotify/?action=search_artists&amp;artistid=</property>
Expand Down