The mp3 importer has no over write option

izhmel
@izhmel
11 years ago
1,354 posts
I am having stream length issues and is following Brian's recommendations to re import the files ,"the songs plays full length and not the 30 seconds"
The mp3 importer has no over write option

skipping item exists: 10 - Know your Culture.mp3


--
The Scientist
dubmusic.com
Thanks for any assistance.

updated by @izhmel: 05/21/14 01:25:30PM
michael
@michael
11 years ago
7,816 posts
Try deleting a couple of files manually, then re-importing them to see if it fixes the problem.

If it does, then move on to the how to get rid of the existing files next. No sense in trying to re-import them if its not going to fix the actual issue you want to fix.
izhmel
@izhmel
11 years ago
1,354 posts
That did not work ..
I want the option to overwrite files during import.... It would be good to also add an added features to assign the artwork as the profile photo ,i.e. load a text .txt file in the bio section , load a .png,gif file in the profile photo section ...

it would take a very long time to create profile photos and bio and mp3's for say 2500 profiles


--
The Scientist
dubmusic.com
Thanks for any assistance.
paul
@paul
11 years ago
4,335 posts
Just modify your profile template to show audio artwork, should there not be an profile image.

Even if the importer could take a text file and put it into a bio, it would take you a very long time to prepare them all individually, so if you are doing that, a couple of extra clicks to upload them by hand is no big deal.


--
Paul Asher - JR Developer and System Import Specialist
brian
@brian
11 years ago
10,149 posts
izhmel:
That did not work ..
I want the option to overwrite files during import.... It would be good to also add an added features to assign the artwork as the profile photo ,i.e. load a text .txt file in the bio section , load a .png,gif file in the profile photo section ...

it would take a very long time to create profile photos and bio and mp3's for say 2500 profiles

If you need to start over and re-import, you could just delete all existing entries from the audio datastore so it starts fresh.

There are no plans to add profile based features into the audio module - if you need that then you're going to want to create something custom. Ideally it would be a module that listens for profile creations, then checks some 3rd party service for artist images, etc.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
izhmel
@izhmel
11 years ago
1,354 posts
How do I delete all existing entries from the audio datastore ?


--
The Scientist
dubmusic.com
Thanks for any assistance.
brian
@brian
11 years ago
10,149 posts
izhmel:
How do I delete all existing entries from the audio datastore ?

Fromt he developer tools -> database admin -> SQL Command run the following 2 queries:

TRUNCATE TABLE jr_jraudio_item
TRUNCATE TABLE jr_jraudio_item_key

This will remove all audio items from your system, so only do it if that is what you really want to do.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags