MixesDB:Tests/TID incompatible mobile domain in player URLs

From MixesDB
Jump to navigationJump to search

m.soundcloud.com player URLs are not found on TrackId.net, thus we have to disallow them.

Such domains are defined in Template:Player/Mirror titles.

Domain check

Template:Player/1 processing:

{{#vardefine:1F|{{#multireplace:https://m.soundcloud.com/rinsefm/7ip7o3130626|UNDERSCORE=_|[=%5B|]=%5D|%2C=%252C|,=%252C|$26=%2526|&=%2526}}}}
{{#vardefine:playerSite|{{Player/Mirror titles|1={{#var:1F}}}}}}

{{#var:playerSite}}: TID incompatible mobile domain

Throw warning

{{Player
 |https://m.soundcloud.com/rinsefm/7ip7o3130626
}}
{{Player
 |http://m.mixcloud.com/Solid_Steel/solid-steel-radio-show-252014-part-1-2-moxie
}}
The player URL seems to use a mobile subdomain variant that is not compatible with our TrackId.net checks. Please use e.g. https://m.soundcloud.com/ without m. as (https://soundcloud.com/).
https://m.soundcloud.com/rinsefm/7ip7o3130626
The player URL seems to use a mobile subdomain variant that is not compatible with our TrackId.net checks. Please use e.g. https://m.soundcloud.com/ without m. as (https://soundcloud.com/).
http://m.mixcloud.com/Solid_Steel/solid-steel-radio-show-252014-part-1-2-moxie

OK

{{Player
 |https://soundcloud.com/rinsefm/7ip7o3130626
}}
{{Player
 |http://mixcloud.com/Solid_Steel/solid-steel-radio-show-252014-part-1-2-moxie
}}