Rise-Software / Rise-Media-Player

One media player for everything you own or stream; whether it's music or videos, online or offline Rise Media Player does it all. And it's beautiful and native with the latest version of WinUI.
GNU General Public License v3.0
1.05k stars 76 forks source link

Trouble reading newly imported m3u's from iTunes #154

Open LudovicBouvierJohnston opened 2 years ago

LudovicBouvierJohnston commented 2 years ago

Description

I am having a hard time importing a playlist from iTunes in Rise Media Player. Groove Music seems to be working fine. I wonder if I am doing something wrong or Rise Media Player is not compatible with iTunes. I have a screen recording of it. Let me know if you need help with further debugging

Screen Recording

Steps To Reproduce

  1. Import all music in Rise Media Player
  2. Export playlist M3U from iTunes
  3. Import playlist M3U to Rise Media Player
  4. Click on the new generated playlist
  5. Rise Media Player waits and then crashes

Expected behavior

Open playlist hit play. Music plays from imported playlist

Rise Media Player Version

Alpha Preview 2 - 0.0.170.0

Windows Version

Windows 10 Pro Version 20H2 OS build 19042.1586

Relevant Assets/Logs

I can't find a log. Which directory should I look for?

yoshiask commented 2 years ago

Would you be able to share the M3U file?

LudovicBouvierJohnston commented 2 years ago

Would you be able to share the M3U file? M3U File

LudovicBouvierJohnston commented 2 years ago

While debugging I have noticed that there is a missing / for the playlist.Icon in PlaylistViewModel.cs line 147. it should be : playlist.Icon = "ms-appx:///Assets/NavigationView/PlaylistsPage/blankplaylist.png"; and not playlist.Icon = "ms-appx://Assets/NavigationView/PlaylistsPage/blankplaylist.png";

The icon is now created normally with blankplaylist.png With the icon corrected correctly it is still crashing. Will figure this out.

itsWindows11 commented 2 years ago

@LudovicBouvierJohnston I guess this issue was caused by the fact that Rise Media Player populates the songs in the playlist by finding the file locally instead of checking if it's an actual URL before adding it.