0
Hi Germi,
I am trying to get MC to use a path to my mp3's not stored in the 'songs' folder.
I set up the 'Songs server' variable to point to the server "http : //myserver" (I had to add spaces as it was eating the http) and then set the 'Songs folder' variable to '\\Music'
I have a MC JWPlayer module located on the Home page that is populated with songs when the page loads. Selecting any of these songs will start the song playing.
I also have a menu item called 'Music', which when selected will open a new page showing the Various Artists albums I have. If I now try and play a song in the module player I get an 'error #2032' message in the player window. Also if I select an album from the 'Various Artists' list to bring up the album page for it, I can play none of the songs.
I tried to look in the code at the path that was being used, but not sure exactly where to look. I did look in ...helpers/helpers.php and echoed out the path - however the path always looked like http : //myserver/songs/...
I am not sure why my '/Music' folder was not shown and instead the '/songs' folder.
I went a little further and just replaced 'songs' with 'Music' so the path then was correct to where the file was located, but it did not make any difference. They still would not play.
Any suggestions would be greatly appreciated.
Thanks - and hope you had a great day.
David
I have been lookin a little deeper and found an interesting thing. In the function getSongFileURL I echoed the value of $dirname which is set as $params->get('songspath'). It always returned 'songs' as it's value. However, when I looked in the database for the params attribute associated with com_muscol the songpath parameter is set to /Music. Why is the call to $params->get('songspath') returning '/songs'?? However, even when I forced $dirname = '/Music' I could not get the player to play the mp3.
D
I am trying to get MC to use a path to my mp3's not stored in the 'songs' folder.
I set up the 'Songs server' variable to point to the server "http : //myserver" (I had to add spaces as it was eating the http) and then set the 'Songs folder' variable to '\\Music'
I have a MC JWPlayer module located on the Home page that is populated with songs when the page loads. Selecting any of these songs will start the song playing.
I also have a menu item called 'Music', which when selected will open a new page showing the Various Artists albums I have. If I now try and play a song in the module player I get an 'error #2032' message in the player window. Also if I select an album from the 'Various Artists' list to bring up the album page for it, I can play none of the songs.
I tried to look in the code at the path that was being used, but not sure exactly where to look. I did look in ...helpers/helpers.php and echoed out the path - however the path always looked like http : //myserver/songs/...
I am not sure why my '/Music' folder was not shown and instead the '/songs' folder.
I went a little further and just replaced 'songs' with 'Music' so the path then was correct to where the file was located, but it did not make any difference. They still would not play.
Any suggestions would be greatly appreciated.
Thanks - and hope you had a great day.
David
I have been lookin a little deeper and found an interesting thing. In the function getSongFileURL I echoed the value of $dirname which is set as $params->get('songspath'). It always returned 'songs' as it's value. However, when I looked in the database for the params attribute associated with com_muscol the songpath parameter is set to /Music. Why is the call to $params->get('songspath') returning '/songs'?? However, even when I forced $dirname = '/Music' I could not get the player to play the mp3.
D
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »