I've spent the last few years slowly building my own record database to hold my vinyl collection, recently I extended it to include lyrics and album photos, I've always been looking for a freeware mp3 player to build into it, before Christmas I found Wimpy 7.81. Part of the structure for my website is as follows - have used _ (Underscores for indentation)
The MyPlayList.xml Code is as follows
Currently the webform loads, the track can be played from the wimpy player, however, it's not the appropriate place to be storing my MP3 within the root folder due to the size
Looking online I created a virtual directory in IIS called MusicCollection and the folder on my D Drive is called MusicTest, the structure in IIS now looks like
The XML Code is as follows
I have assigned permissions using IUSR and IIS_IUSRS, I have tried numerous ways to get the mp3 track to work from the virtual directory
I'm unable to understand why, any help appreciated
C#:
AlbumCovers (folder)
MusicFolder (folder - mp3 is stored here)
Wimpy_7.81 (folder)
_____frmMyPlayLists.aspx
__________frmMyPlayLists.aspx.cs
_____MyPlayList.xml
The MyPlayList.xml Code is as follows
XML:
<?xml version="1.0" encoding="utf-8" ?>
<playlist>
<item>
<file>../MusicFolder/04 Waterfront.mp3</file>
<title>Waterfront</title>
<artist>Simple Minds</artist>
<image>path/to/image.jpg</image>
</item>
</playlist>
Currently the webform loads, the track can be played from the wimpy player, however, it's not the appropriate place to be storing my MP3 within the root folder due to the size
Looking online I created a virtual directory in IIS called MusicCollection and the folder on my D Drive is called MusicTest, the structure in IIS now looks like
C#:
AlbumCovers (folder)
MusicFolder (folder - mp3 is stored here)
Wimpy_7.81 (folder)
_____frmMyPlayLists.aspx
__________frmMyPlayLists.aspx.cs
_____MyPlayList.xml
MusicCollection (virtual folder - this does not show in the solution explorer in visual studio)
The XML Code is as follows
XML:
<?xml version="1.0" encoding="utf-8" ?>
<playlist>
<item>
<file>MusicCollection/04 Waterfront.mp3</file>
<title>Waterfront</title>
<artist>Simple Minds</artist>
<image>path/to/image.jpg</image>
</item>
</playlist>
I have assigned permissions using IUSR and IIS_IUSRS, I have tried numerous ways to get the mp3 track to work from the virtual directory
XML:
<file>MusicCollection/04 Waterfront.mp3</file>
<file>../MusicCollection/04 Waterfront.mp3</file>
<file>04 Waterfront.mp3</file>
I'm unable to understand why, any help appreciated
Last edited by a moderator: