Advertisement:

Author Topic: SCM Music Player for SMF  (Read 15984 times)

Offline nofapturkiye

  • Semi-Newbie
  • *
  • Posts: 44
Re: SCM Music Player for SMF
« Reply #60 on: December 28, 2017, 04:36:15 PM »
Hi ; can you explain me how can i use the musics in my own hosts? I can succesfully add .mp3 files from internet. But most of the upload sites are not providing direct and stabil link to the mp3. So that is a problem . They might be deleted or might be low quality. To solve this i want to use the mp3 files which i host them on my server. But what should i write to  song url part? 

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: SCM Music Player for SMF
« Reply #61 on: December 29, 2017, 10:55:39 PM »
Hi ; can you explain me how can i use the musics in my own hosts? I can succesfully add .mp3 files from internet. But most of the upload sites are not providing direct and stabil link to the mp3. So that is a problem . They might be deleted or might be low quality. To solve this i want to use the mp3 files which i host them on my server. But what should i write to  song url part? 
Well, if your forum is at http://www.duh.com/board/, and you have a directory underneath called music, then you would use http://www.duh.com/board/music/{mp3_filename}.mp3 (where {mp3_filename} is the name(s) of the mp3 file(s) you want to play from your server.  Note that most Unix-based servers are CASE SENSITIVE, meaning Blah.mp3 is different from blah.mp3 and Blah.MP3.  Windows-based servers really don't care that much....
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline nofapturkiye

  • Semi-Newbie
  • *
  • Posts: 44
Re: SCM Music Player for SMF
« Reply #62 on: December 31, 2017, 10:49:43 AM »
thanks a lot it works perfectly : )


Offline nofapturkiye

  • Semi-Newbie
  • *
  • Posts: 44
Re: SCM Music Player for SMF
« Reply #63 on: January 07, 2018, 03:30:10 PM »
Hi dougiefresh , Your modification works perfectly ... It is so good and well integrated . Thank you for this again .
I was wondering if it is possible to set time for autoplaying? For example my site has a lot of users online at midnight. I want to  autoplay mode to be enabled  between 11 pm and 2 am.
  Could you kindly lead me to the correct way for this? 

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: SCM Music Player for SMF
« Reply #64 on: January 07, 2018, 10:03:23 PM »
Uploaded v1.9 - January 7th, 2018
o Added time parameters for restricting autoplay setting.



@nofapturkiye:  Hopefully this update will take care of your feature request!  Thank you!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline nofapturkiye

  • Semi-Newbie
  • *
  • Posts: 44
Re: SCM Music Player for SMF
« Reply #65 on: January 08, 2018, 03:32:49 PM »
Uploaded v1.9 - January 7th, 2018
o Added time parameters for restricting autoplay setting.



@nofapturkiye:  Hopefully this update will take care of your feature request!  Thank you!


are you real mate?  I was scared to ask you because you seem busy with all modifications. Thank you for that  ;D

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: SCM Music Player for SMF
« Reply #66 on: January 08, 2018, 06:13:35 PM »
Well, I can't fulfill feature requests and fix bugs if nobody tells me about them, now can I? ::). Anyways, you're welcome!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline nofapturkiye

  • Semi-Newbie
  • *
  • Posts: 44
Re: SCM Music Player for SMF
« Reply #67 on: February 02, 2018, 01:12:47 PM »
Hello it is me again : )
i have another request which  i think is more usefull then my last request.
  is it possible to create multiple playlist and activate and deactivate them ?  for examle  1 songlist for slow music  , second for hard rock . In this version ş believe we can create 1 playlist only.  people are listening mettallica one moment and suddenly mozart comes in  : )   how hard is it ?

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: SCM Music Player for SMF
« Reply #68 on: February 03, 2018, 12:10:24 PM »
Good question.  I've got most of the "underbody" support built in the mod.  I just need to complete the GUI for making multiple playlists, and I'm having trouble trying to get things done lately....  Also, the "underbody" might change, depending on how the GUI develops....
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline nofapturkiye

  • Semi-Newbie
  • *
  • Posts: 44
Re: SCM Music Player for SMF
« Reply #69 on: February 11, 2018, 05:26:55 PM »
Good question.  I've got most of the "underbody" support built in the mod.  I just need to complete the GUI for making multiple playlists, and I'm having trouble trying to get things done lately....  Also, the "underbody" might change, depending on how the GUI develops....

I will be the first to try it when it is ready :)

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 1,810
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: SCM Music Player for SMF
« Reply #70 on: February 11, 2018, 06:36:05 PM »
I had some doubts in some translations that is why I approached it as much as possible to Spanish and others left it like this because I think it would be wrong to translate them ... Then I'm translating more of your mod :P if I'm going to be bothering you for a while @dougiefresh


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: SCM Music Player for SMF
« Reply #71 on: February 12, 2018, 10:58:56 AM »
Uploaded v1.10 - February 12th, 2018
o Added translators section to the readme.txt file.
o Added Spanish Latin translation, courtsey of Rock Lee.
o Added LICENSE file to the mod, to clarify licensing terms.



@Rock Lee:  Thank you for the translation!  It's been included in this version!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline nofapturkiye

  • Semi-Newbie
  • *
  • Posts: 44
Re: SCM Music Player for SMF
« Reply #72 on: February 23, 2018, 04:05:23 AM »
Good question.  I've got most of the "underbody" support built in the mod.  I just need to complete the GUI for making multiple playlists, and I'm having trouble trying to get things done lately....  Also, the "underbody" might change, depending on how the GUI develops....

any luck we get this any time soon?:D :D

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: SCM Music Player for SMF
« Reply #73 on: February 27, 2018, 11:35:55 AM »
any luck we get this any time soon?:D :D
Sorry about the wait!  I just started working on it.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline nofapturkiye

  • Semi-Newbie
  • *
  • Posts: 44
Re: SCM Music Player for SMF
« Reply #74 on: February 28, 2018, 07:24:06 AM »
any luck we get this any time soon?:D :D
Sorry about the wait!  I just started working on it.

no problem take your time  ;) 

where did you learn to code like this? 

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: SCM Music Player for SMF
« Reply #75 on: February 28, 2018, 10:26:04 PM »
Uploaded v2.0 - February 28th, 2018
o Added ability to add multiple playlists.
o Admin can choose which playlist gets played by every user.



@Everybody:  I've tried to test this new version out throughly, however, I may have missed something.  Please let me know if you run into any issues!  Thanks!

where did you learn to code like this?
First, the SCM Music Player isn't my creation.  I've just written up some PHP code to integrate the music player into the forum, and control the options avaiable through the Javascript code.  Tried to make it look pretty, functional, and whatever else is required....

Second, I've come by most of my programming skills on my own.  I attended Middle Tennessee State University (MTSU) and tried to get a degree in computer science, but dammit, college is BORING!!!  Yup, my attention span is not so good...  O:)   So I dropped out.

Third, I have to give credit to Simple Machines Forum's Customization Team.  They really helped me to understand that it isn't just whether the code works, but whether others can read it and understand the code.  They've helped me learn data sanitation techniques and better coding methods.  So a big shoutout to the Customization Team!!!  Thanks!
« Last Edit: February 28, 2018, 10:52:10 PM by dougiefresh »
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Online aegersz

  • Sophist Member
  • *****
  • Posts: 1,394
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: SCM Music Player for SMF
« Reply #76 on: March 01, 2018, 08:13:03 AM »
who needs Soundcloud or whatever ?

that's right and thanks to dougie's fabulous idea, a little source page viewing, i can now display this page of music (i can post this non-SSL media link in facebook using my site only and without explicitly revealing my dodgy URL to friends (with a little help with some subtle .htaccess considerations)):

click here

with this PHP-free zone (/private/index.html):

Code: [Select]
</html>
<head>
<title>private playlist</title>
</head>
<body>

<h4>[./private/index.html] testing ...<h1>

<h2>real DJs:</h2>
</br>
<a href="https://hearthis.at/djrobdavis/180208-dj-rob-davis-so-******in-soul-deep/"> DJ Rob Davis - So ******in... Soul Deep</a>
</br>
</br>
<a href="http://www.markalsop.com"> DJ Mark Alsop's Podcasts</a>
</br>
</br>
</br>

<h4>... and me and my DAW:</h4>
<h4>Narcotic Thrust vs. ? [my technically ok oldie mashup done on a NI Kontrol-S4 before it died]</h4>
<audio controls="controls" >
<source src="http://128.199.200.202/NarcThrustMash.mp3" type="audio/mpeg">
</audio>

<h4>Take Control (,Kate) - an old totally reworked soul track that i cherry picked & dropped in a sample on the 3rd bar (just to F*#k with ya)</h4>
<audio controls="controls" >
<source src="http://128.199.200.202/TakeControl.mp3" type="audio/mpeg">
</audio>

<h4>Dab Hands - Do Your Own Thing vs. Ma.mp3</h4>
<audio controls="controls" >
<source src="http://128.199.200.202/DYOTvsMa.mp3" type="audio/mpeg">
</audio>

<h4>Back in Time (an acapella overlay - DRUGGED mix)</h4>
<audio controls="controls" >
<source src="http://128.199.200.202/BackInTime.mp3" type="audio/mpeg">
</audio>


<h4>Thats_a_bit_mixed_up.mp3</h4>
<audio controls="controls" >
<source src="http://128.199.200.202/Thats_a_bit_mixed_up.mp3" type="audio/mpeg">
</audio>

<h4>some experimental percussive thing that just doesn't flow right</h4>
<audio controls="controls" >
<source src="http://128.199.200.202/Percussive.mp3" type="audio/mpeg">
</audio>

<h4>I also messed up this *great* Mark Alsop Splashback track:</h4>
<audio controls="controls" >
<source src="http://128.199.200.202/My.Mate.Slam.mp3" type="audio/mpeg">
</audio>
</body>
</html>
« Last Edit: March 01, 2018, 08:43:55 AM by aegersz »
Linux CentOS VPS running SMF 2.0 with 140+ mods installed (the full h/w and s/w can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline nofapturkiye

  • Semi-Newbie
  • *
  • Posts: 44
Re: SCM Music Player for SMF
« Reply #77 on: March 06, 2018, 02:27:48 AM »

Quote
@Everybody:[/b]  I've tried to test this new version out throughly, however, I may have missed something.  Please let me know if you run into any issues!  Thanks!


dougie thank a lot for your efforts , hwoever i couldnt make it work  .There is a default list. and i have 2 other  playlist. but when i choose one and press save it doesnt work . playlist remains same . songs wont change.  I thought it may be cache issue but with different browser i get same results

Online aegersz

  • Sophist Member
  • *****
  • Posts: 1,394
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: SCM Music Player for SMF
« Reply #78 on: March 06, 2018, 04:06:51 AM »
{snip}
Third, I have to give credit to Simple Machines Forum's Customization Team.  They really helped me to understand that it isn't just whether the code works, but whether others can read it and understand the code.  They've helped me learn data sanitation techniques and better coding methods.  So a big shoutout to the Customization Team!!!  Thanks!
{snip}

i feel ya, i could do with a complete sanitaztion myself  :o

i have never felt the need to look at your code because i never questioned it nor have had to.

please write lots of comments

at least i have managed to fix every mod conflict, right ?

it was nice of you to give credit where  it's due. none of us are alone in this.
Linux CentOS VPS running SMF 2.0 with 140+ mods installed (the full h/w and s/w can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline nofapturkiye

  • Semi-Newbie
  • *
  • Posts: 44
Re: SCM Music Player for SMF
« Reply #79 on: March 13, 2018, 06:11:59 AM »
cant choose second playlist , anyone else ?