Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Help:
jamroom 5 preview length
harleychicks



Joined: 05 Sep 2013
Posts: 84

Posted: 09/06/13 18:49 
How do I set the song preview length in jamroom 5?

Back to top
Dazed



Joined: 22 Mar 2006
Posts: 4147

Posted: 09/06/13 19:19 
put a price on the song and you will get 60 seconds worth. Without that you would need something custom I believe.

Back to top
harleychicks



Joined: 05 Sep 2013
Posts: 84

Posted: 09/06/13 20:36 
the songs all have prices and plays the full length. It is hard to sell mp3s when the visitors can record the songs on there computers

Back to top
b360



Joined: 02 Feb 2011
Posts: 264

Posted: 09/06/13 22:47 
I went in and signed up for foxy cart, added a price on a song and it automatically only played a portion of the song after I set the price and clicked play.

I did not see where this option was available outside of foxycart. I went in to the jrAudio template and there is a function that takes a snippet out of the song and saves it. So this is an option just nothing controls it outside of FoxyCart as far as I can see.


Hope this helps.

Back to top
harleychicks



Joined: 05 Sep 2013
Posts: 84

Posted: 09/06/13 23:07 
I did that and it don't work

Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 09/07/13 01:28 

harleychicks:
I did that and it don't work


If the question was "Hey harleychicks, how do i fix my harley?" in order to provide help, you would need to know more about what the problem is.

'There is a knocking in the head' has a different solution to 'it wont turn over'.

Same thing here. Need more info.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
harleychicks



Joined: 05 Sep 2013
Posts: 84

Posted: 09/07/13 04:42 
The songs all have prices and still plays the full length ,how do I set a reprieve length say 30 seconds




b360:
I went in and signed up for foxy cart, added a price on a song and it automatically only played a portion of the song after I set the price and clicked play.

I did not see where this option was available outside of foxycart. I went in to the jrAudio template and there is a function that takes a snippet out of the song and saves it. So this is an option just nothing controls it outside of FoxyCart as far as I can see.


Hope this helps.


Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 09/07/13 08:55 
I've never seen this not work - do you have any errors in your activity log? in your System Check does it show "sox" working under the Audio module? How were the prices added to a song? If you go into Modify on an audio file, and add a price (or remove it, then add it again) the preview should be automatically created unless something is not working on your server.

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
harleychicks



Joined: 05 Sep 2013
Posts: 84

Posted: 09/07/13 10:13 
PHP Error Log No PHP Errors at this time

song price 1.00

Audio SOX binary ecutable is green

Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 09/07/13 10:27 

harleychicks:
PHP Error Log No PHP Errors at this time

song price 1.00

Audio SOX binary ecutable is green


yeah it should be working then. How were the prices added to the songs? Was it on an import? Or was it from the create/modify forms?

Thanks!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
harleychicks



Joined: 05 Sep 2013
Posts: 84

Posted: 09/07/13 14:13 
they were added both from import and manual

Back to top
harleychicks



Joined: 05 Sep 2013
Posts: 84

Posted: 09/08/13 04:39 
it is hard to sell mp3's if people can record the full length, the preview length is not working weather i import or manually add them . why cant I not set my own preview length ?

Back to top
harleychicks



Joined: 05 Sep 2013
Posts: 84

Posted: 09/13/13 07:20 
I am still waiting for an answer how to resolve the preview issue playing the entire song instead of say 20 sec. I did everything you recommended and it still don't work .

Why the admin cant set the preview length ?

Back to top
b360



Joined: 02 Feb 2011
Posts: 264

Posted: 09/13/13 10:04 
I think the part to edit is inside /modules/jrAudio/include.php

line 507/960 change the 60 to whatever length you want the preview to be in seconds.

reset cache, integrity check and set a price on the song you want to have limits.

If its free it wont have limits.

Not sure if this is it because I don't want to modify my files and break my site.
so back up your site and know what your doing otherwise I don't suggest playing with your core files.

Use this at your own risk I guess is what im saying. This might not be your solution and there is no options to change this value in your control panel.

Hope this does help you out however.

Back to top
harleychicks



Joined: 05 Sep 2013
Posts: 84

Posted: 09/13/13 10:45 
did u mean this ?


// See how long of a sample has been requested - we want to try and snip
// a section out from the middle of the song for our sample.
list($h,$m,$s) = explode(':',$_audio['audio_file_length']);
$total = (($h * 60) * 60) + ($m * 60) + $s;
$begin = round($total / 2);

Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Help

123Next >
 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.