More > JRiver Media Center 21 for Windows
• MrC's Tip of the Week 2013.36: Links
glynor:
A few more handy ones:
Amazon Instant Video Search (TV):
--- Code: ---<Link version="1.2">
<Item Name="Name">Amazon</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">https://www.amazon.com</Item>
<Item Name="Search URL">https:////www.amazon.com//s//?url=search-alias%3Dinstant-video&field-keywords=Hexify([Series])</Item>
<Item Name="Filter">[Media Type]=[TV],[Video] [Media Sub Type]=[TV Show]</Item>
</Link>
--- End code ---
Amazon Instant Video Search (Movies):
--- Code: ---<Link version="1.2">
<Item Name="Name">Amazon</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">https://www.amazon.com</Item>
<Item Name="Search URL">https:////www.amazon.com//s//?url=search-alias%3Dinstant-video&field-keywords=Hexify(Clean(RemoveCharacters([Name], -:;,)))</Item>
<Item Name="Filter">[Media Type]=[TV],[Video] [Media Sub Type]=[Movie]</Item>
</Link>
--- End code ---
I tried to do the same for iTunes, but their Search API is powerful, but a bit of a pain. To really do it right, you'd have to parse the responses (which, with the real API come back JSON encoded) and extract the URL that you want to actually visit. I can't figure out a way to have it actually take you to one of the returned pages instead of giving you the JSON. Their system is essentially a "search for a URL" system, intended to be used programmatically, not a direct URL searching system.
You could do it, I think, if you wrote JavaScript (or some other script) that sent the search and then parsed the response from iTunes, and then loaded the appropriate URL returned for the type of search you want to do, but this would be a big pain and isn't worth it for my uses. I just thought it might be convenient to link to shows/music if I discover that I'm missing an episode or whatever.
RoderickGI:
The Rotten Tomatoes link no longer seems to work. They must have changed the search URL at some time, and I can't work out what it should be now.
Anybody know, or can work it out?
I currently have the default, as below.
--- Code: ---<Link version="1.2">
<Item Name="Name">Rotten Tomatoes</Item>
<Item Name="Action">0</Item>
<Item Name="Base URL">http://www.rottentomatoes.com</Item>
<Item Name="Search URL">http:////www.rottentomatoes.com//search//full_search.php?search=Hexify([Search])</Item>
<Item Name="Filter">[Media Type]=[Video]</Item>
</Link>
--- End code ---
marko:
Not sure if mine is default or not, but it seems to work still...
Rotten Tomatoes
--- Code: ---<Link version="1.2">
<Item Name="Name">Rotten Tomatoes</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">http://www.rottentomatoes.com</Item>
<Item Name="Search URL">http:////www.rottentomatoes.com//search//?search=Hexify([Search])&sitesearch=rt</Item>
<Item Name="Filter">[Media Sub Type]=[Movie]</Item>
</Link>
--- End code ---
RoderickGI:
Thanks Marko. That version works for me.
I've never edited the links before, so I assume mine was the default, or at least the default at some time. I should have tried creating a new library to see what the current defaults are. Next time I'll try that.
glynor:
I had something else which also didn't work (I don't use the Rotten Tomatoes one much), but marko's thing fixed it for me.
I figure since marko helped me, I'll help others. I have some simple, but decent YouTube links. I have four separate YouTube links, in this order:
1. YouTube (Artist)
Link Info:
--- Code: ---<Link version="1.2">
<Item Name="Name">YouTube (Artist)</Item>
<Item Name="Action">0</Item>
<Item Name="Base URL">http://www.youtube.com</Item>
<Item Name="Search URL">http:////www.youtube.com//results?search_query=Hexify([Artist])</Item>
<Item Name="Filter">[Media Type]=[Audio],[Video] [Media Sub Type]=[Music],[Music Video],[]</Item>
</Link>
--- End code ---
2. YouTube (Track)
Link Info:
--- Code: ---<Link version="1.2">
<Item Name="Name">YouTube (Track)</Item>
<Item Name="Action">0</Item>
<Item Name="Base URL">http://www.youtube.com</Item>
<Item Name="Search URL">http:////www.youtube.com//results?search_query=Hexify([Artist] [Name])</Item>
<Item Name="Filter">[Media Type]=[Audio],[Video] [Media Sub Type]=[Music],[Music Video],[]</Item>
</Link>
--- End code ---
3. YouTube
--- Code: ---<Link version="1.2">
<Item Name="Name">YouTube</Item>
<Item Name="Action">0</Item>
<Item Name="Base URL">http://www.youtube.com</Item>
<Item Name="Search URL">http:////www.youtube.com//results?search_query=Hexify([Name] trailer)</Item>
<Item Name="Filter">[Media Type]=[Video] [Media Sub Type]=[Movie]</Item>
</Link>
--- End code ---
4. YouTube
--- Code: ---<Link version="1.2">
<Item Name="Name">YouTube</Item>
<Item Name="Action">0</Item>
<Item Name="Base URL">http://www.youtube.com</Item>
<Item Name="Search URL">http:////www.youtube.com//results?search_query=Hexify([Series] [Name])</Item>
<Item Name="Filter">[Media Type]=[Video] [Media Sub Type]=[TV Show]</Item>
</Link>
--- End code ---
EDIT: Realized the search is part of the Link Info copyblock. Oops. Forgot.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version