It is known that the Miami Vice episode "Smuggler's Blues" (S01E15) was inspired by the eponymous song by Glenn Frey, who also appears in the episode as a smuggling pilot. But while this direction of the connection seems to be clear (if one is to believe Wikipedia), this song and especially its accompanying music video in turn seem so influenced by Miami Vice that I initially thought Glenn Frey had written the song specifically for the TV-show, as he did with "You Belong to the City" for S02E01.
Looking at the rather simultaneous release of both things, it is hard to make a temporal connection, though, and I might be very well making things up here. But is there any information that the Glenn Frey song "Smuggler's Blues" or its music video were influenced by the TV show Miami Vice and they thus provided each other with a mutual fertilization? Is there any more background to it than just a coincidental similarity and the episode being inspired by the song? Or were they both really just independent products of their zeitgeist?