Private online music streaming service Spotify said today that it has acquired Niland, a Paris-based machine learning startup, escalating its war with Apple (AAPL) - Get Report Music as it readies to go public.

"Niland has changed the game for how AI technology can optimize music search and recommendation capabilities and shares Spotify's passion for surfacing the right content to the right user at the right time," Spotify said on its website.

The team from Niland will help the Swedish-based music platform innovate and improve its "personalization technology" resulting in more music discovery.

"Their innovative approach to AI and machine learning based recommendation systems is a perfect fit for the Spotify team," Spotify said.

Spotify will be a direct listing on the NYSE when it goes public between the fourth quarter of 2017 and the first quarter of 2018.

(Apple is a core holding of Jim Cramer's charitable trust Action Alerts PLUS. See all of his holding with a free trialhere.)