The switch to steam-powered ships and the use of machines for shipboard tasks, by the end of the 19th century, meant that shanties gradually ceased to serve a practical function. Their use as work songs became negligible in the first half of the 20th century. Information about shanties was preserved by veteran sailors and by folklorist song-collectors, and their written and audio-recorded work provided resources that would later support a revival in singing shanties as a land-based leisure activity. Commercial musical recordings, popular literature, and other media, especially since the 1920s, have inspired interest in shanties among s. The modern performance contexts of these songs have affected their forms, their content, and the way they are understood as cultural and historical artifacts. Recent performances range from the "traditional" style of practitioners within a revival-oriented, maritime music scene, to the adoption of shanty repertoire by musicians in a variety of popular styles.