Spotify's Car Thing player is now a thing of the past.

The world's leading audio streaming service on Wednesday announced it would discontinue the device just five months after it became available to all users in the United States. In doing so, Spotify became the latest software technology company to stumble in an attempt to build hardware.

Spotify wrote down a $31 million investment in the device, which was aimed at increasing the number of users who listen to music or podcasts while in the car. However, the company said it was unable to sell enough devices at a sufficiently high price to justify the investment.