Limiting how much of the song is played/heard

Eddy
Eddy
@eddy
8 years ago
479 posts
The only way I know to limit how much of a song is played/heard is by putting the song for sale (which limits the song to 1 minute of play), is there another way?

Thanks

Eddy
updated by @eddy: 04/12/16 05:19:49PM
michael
@michael
8 years ago
7,695 posts
The audio sample length can be set at:
ACP -> PROFILES -> AUDIO -> GLOBAL CONFIG -> AUDIO CONVERSION -> Audio Sample Length

That creates the sample when the conversion process takes place.

When the file is for sale, the foxycart module checks for a .sample. version of the file during the jrFoxyCartBundle_stream_file_listener() function and changes the 'stream_file' to play the sample instead.

So right now there is no setting in the ACP to make the sample play when its not a pay-for-download item, but it could be made with a not-too-complex module.

Tags