More > JRiver Media Center 21 for Windows

• MrC's Tip of the Week 2013.36: Links

<< < (9/12) > >>

slayerist:
Any chance of adding www.metal-archives.com ?

slayerist:
www.metal-archives.com

Band (Artist)

--- Code: ---<Link version="1,2">
<Item Name="Name">Metal Archives Band</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">http://metal-archives.com</Item>
<Item Name="Search URL">http:////metal-archives.com//search?searchString=Replace([artist],/ ,+)&amp;type=band_name</Item>
<Item Name="Filter">[media type]=[audio]</Item>
</Link>
--- End code ---

Album title

--- Code: ---<Link version="1,2">
<Item Name="Name">Metal Archives Album</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">http://metal-archives.com</Item>
<Item Name="Search URL">http:////metal-archives.com//search?searchString=Replace([album],/ ,+)&amp;type=album_title</Item>
<Item Name="Filter"/>
</Link>
--- End code ---

FrankEPaul:
Hi

Let me explain myself briefly before posting my query, because that might provide useful context: I've been greatly enjoying MC for the past few months. After having tried out a bunch of other media players, I feel like I finally found the player that does pretty much everything I want and is totally immersive to use.  But there's one MC functionality I would like to way more fully leverage - namely, MANAGE LINKS - but due to my lack of sufficient scripting skills and knowledge for the job, I'm finding I'm not able to do so, even after having read numerous threads on the topic, including the "Tips of the Weeks" entries. 

So far, I've been able to get separate Album and Artist links working for both AMG and Pitchfork, mostly due to the fact that dead-simple scripting for the "Search Link" element seems to work fine for those sites. It's when I get to any of about another dozen or so music-related sites (Bandcamp, Discogs, Tiny Mix Tapes, Boomkat, Resident Advisor, Drowned in Sound, Exclaim, etc. etc.) where I find myself totally lost in terms of tweaking the scripts to make the search commands for Artist and/pr Album workable for these other sites.  I stare at examples posted by other people but have no clue what bits of code like "&amp" and "ifempty" (but two of many examples) refer to or how (or why) I may need to use them.  The generic coding examples previously posted do not generate satisfactory results for these other sites.

So, my two-part question I was hoping somebody could help me with is as follows:

1) Is there any online resource available which fully explains the different coding elements I need to know in order to program the SEARCH URL script so I can get workable links functioning easily and effectively? (Again, I'm no techy, but have been able to learn dribs and drabs of coding logic for things I've needed before, e.g. CSS/HTML)

2) Perhaps an easier solution: Would any forum members out there who know the MANAGE LINKS function like the back of their hand be able to simply program a list of sites for me?  Name your price and I can let you know if I can afford your expertise  ;)

Thanks in advance for any help anybody out there might be able to offer. If I can get the MANAGE LINKS function to work for me the way I think it's capable, the last piece of the puzzle would be in place letting me conclude that being set up in MC is like dying and going to digital music heaven.   :)

kensn:

--- Quote from: FrankEPaul on November 09, 2017, 04:08:08 pm ---Hi

1) Is there any online resource available which fully explains the different coding elements I need to know in order to program the SEARCH URL script so I can get workable links functioning easily and effectively? (Again, I'm no techy, but have been able to learn dribs and drabs of coding logic for things I've needed before, e.g. CSS/HTML)


--- End quote ---

Here is a great place to start...

https://wiki.jriver.com/index.php/Expression_Language

Ken

FrankEPaul:
Ken

Thank you so much for passing that on, I appreciate it!  (Now comes the test to see if my thick skull can comprehend it all!  ;D)

Cheers
Frank

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version