INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to invoke URL from mc18  (Read 2881 times)

kdwykleingeld

  • World Citizen
  • ***
  • Posts: 118
How to invoke URL from mc18
« on: June 18, 2013, 12:59:00 am »

Hi, pretty happy user of mc18 here !!

Question ...   what would be the best way to start an URL from MC to display info ..  for example to display IMDB information or WiKi information for an album ..
I see fields for the IMDB ID,   Info URL etc ..   but thats just data when i fille them in ..

It would be nice if one could select "imdb info" or "wiki info" or open website for artist/band .. when hoovering over an album icon .. or maybe starting the URL specified in a tag from the file list ?

What is the best approach here ?


many thx

reg koen



   

   
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8973
Re: How to invoke URL from mc18
« Reply #1 on: June 18, 2013, 01:49:59 am »

You want the "links bar", which is situated at the right hand end of the tab bar...

You can either right click there, and choose "Manage Links", or from the menu, go "Tools > Links > Manage Links"

Now, without getting into heavily complex explanations, hopefully a few examples will help get you up and running. The beauty of these things is that they only show up if the files match the string provided, so, for example, video related links won't show up for a list of audio files. All of these examples open in an external browser, but with a click of the mouse, you can set them to open within MC if you prefer that.

To get these examples onto your links bar, copy all of the text in the code box, open the links manager as detailed above, click the "Add" button, then click on the "Paste link information from clipboard" button...

IMDb - If a file is tagged with the IMDb ID, this will open the page directly, if the IMDb ID is missing, it does an IMDb search for the title:
Code: [Select]
<Link version="1.2">
<Item Name="Name">IMDb</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">http://www.imdb.com</Item>
<Item Name="Search URL">if(isempty([IMDb ID]),http:////www.imdb.com//find?s=tt&amp;q=Hexify([Search]),http:////www.imdb.com//title//[imdb id]//)</Item>
<Item Name="Filter">[media sub type]=[Movie],[TV Show]</Item>
</Link>

Rotten Tomatoes
Code: [Select]
<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//full_search.php?search=Hexify([Search])</Item>
<Item Name="Filter">[Media Sub Type]=[Movie]</Item>
</Link>

Music Video - Searches YouTube for the music video for the selected audio track:
Code: [Select]
<Link version="1.2">
<Item Name="Name">Music Video</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">http://www.youtube.com</Item>
<Item Name="Search URL">http:////www.youtube.com//results?search_type=&amp;search_query=Hexify([Artist]+[Name])</Item>
<Item Name="Filter">[Media Type]=[Audio]</Item>
</Link>

Artist On AMG - Searches all music.com for the selected artist:
Code: [Select]
<Link version="1.2">
<Item Name="Name">Artist on AMG</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">http://www.allmusic.com</Item>
<Item Name="Search URL">http:////www.allmusic.com//search//artist//Replace([artist],/ ,+)</Item>
<Item Name="Filter">[media type]=audio</Item>
</Link>

Album On AMG - Searches all music.com for the selected album:
Code: [Select]
<Link version="1.2">
<Item Name="Name">Album on AMG</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">http://www.allmusic.com</Item>
<Item Name="Search URL">http:////www.allmusic.com//search//album//Replace([album],/ ,+)</Item>
<Item Name="Filter">[media type]=audio</Item>
</Link>

Track On AMG - Searches all music.com for the selected track name:
Code: [Select]
<Link version="1.2">
<Item Name="Name">Track on AMG</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">http://www.allmusic.com</Item>
<Item Name="Search URL">http:////www.allmusic.com//search//song//Replace([name],/ ,+)</Item>
<Item Name="Filter">[media type]=audio</Item>
</Link>

See if that's enough to get you rolling... any questions, fire away...

-marko

kdwykleingeld

  • World Citizen
  • ***
  • Posts: 118
Re: How to invoke URL from mc18
« Reply #2 on: June 18, 2013, 04:08:43 am »

hi thx, this works great !   

do you also have a code fragment for   Wiki (english) ?

thx
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8973
Re: How to invoke URL from mc18
« Reply #3 on: June 18, 2013, 11:15:31 am »

You're welcome. Try the following for wikipedia...

Wikipedia - looks for artist if audio, and title if video:
Code: [Select]
<Link version="1.2">
<Item Name="Name">Wikipedia</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">http://en.wikipedia.org</Item>
<Item Name="Search URL">http:////en.wikipedia.org//wiki//Special:Search?search=Hexify(if(isequal([media type],audio,1),"[artist]","[name]"))&amp;go=Go</Item>
<Item Name="Filter">[Media Type]=[Audio],[Video]</Item>
</Link>

kdwykleingeld

  • World Citizen
  • ***
  • Posts: 118
Re: How to invoke URL from mc18
« Reply #4 on: June 19, 2013, 01:30:27 am »

hi thx .. great ! works really fine thx

q1: what do i have to configure to display the content/result  into mc itself  .. it starts external browser session .. if i change that into internal i see no results ... except page not found

q2: would it be possible to kickoff the "wiki" link search immediately from the   album icon  ... when hoovering over for example the album icom  i want to  be able to directly start the imdb or wiki search ..    now this is an activity which requires   3 steps ...    1) right click mouse   2) goto links   3)   select the right   link  (e.g. wikipedia)

q3:    i maintain my library from one computer and save the files (with updated tags ) on my NAS ..    i use an other computer connected to my stereo and tv as media player ..  i have auto import running there and it discovers nicely new files etc ...  however  it does not update tags of earlyer imported  files ..  for that i have to do a libray "update library from tags "   myself ..     would it be possible for MC to also update all files during auto import for which tags (in the filer or the sidecar xml) have been updated ?


thx

reg koen
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: How to invoke URL from mc18
« Reply #5 on: June 19, 2013, 08:45:29 pm »


q1: what do i have to configure to display the content/result  into mc itself  .. it starts external browser session .. if i change that into internal i see no results ... except page not found


It could be the site uses Flash, and therefore won't work w/the MC internal IE control.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up