• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[8wayRun.Com] XenMedio (Media)

Status
Not open for further replies.
Guide on how to set up a Local Soundtrack (premium expansion required). Soundtrack playlists are stored in an mRSS formatted XML file; this file should be located in your "/data/local/" folder. When you submit your soundtrack to your media library, you will use the following format: "local:soundtrack.xml", where "soundtrack.xml" is the name of your playlist file found in "/data/local/". This XML file follows a specific format...
Code:
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"
 xmlns:jwplayer="http://developer.longtailvideo.com/trac/">
	<channel>
		<title>Soundtrack Example</title>
		<image>music/album.jpg</image>
		<item>
			<title>01 Track 1</title>
			<media:content url="music/track1.mp3" duration="60" />
			<media:thumbnail url="music/track1.jpg" />
		</item>
		<item>
			<title>02 Track 2</title>
			<media:content url="music/track2.mp3" duration="90" />
			<media:thumbnail url="music/track2.jpg" />
		</item>
		<item>
			<title>03 Track 3</title>
			<media:content url="music/track3.mp3" duration="75" />
			<media:thumbnail url="music/track3.jpg" />
		</item>
	</channel>
</rss>

As you can see, there are various elements in this XML file. All elements are contained within <rss><channel>. Anything outside of these enclosures will be ignored. The example above shows all information that is readable by the media library. There are additional tags that you can input which will be read by the JW Player, which are outlined here; I will not be going into any of these tags (except jwplayer: provider) as they are separate from the library.

These are all text fields, if you want to put in non-latin characters, you must wrap your text in a "<![CDATA[ ]]>" enclosure.

<rss><channel><title> REQUIRED
This is the title of your playlist. The media library will read this entry and set it as your title and description. This is an absolutely required field; without it, your submission will break.​


<rss><channel><image> REQUIRED
This is the art for your playlist. This item will be used to create thumbnail in the media library. A thumbnail is always required; if this tag is missing the system will try to retrieve the thumbnail from the first item in your playlist. At least one image is required.​

<rss><channel><item> REQUIRED
This is an actual playlist entry. You can have as many items in your playlist as you want. Each item has additional required details so that the system knows how to handle it.​
<item><title> REQUIRED
The title of your track. This name will be displayed on the actual flash object.​
<item><media:content> REQUIRED
Content information about your media track...​
url REQUIRED
This is the URL to your actual media file. It doesn't even necessarily have to be an MP3, it can be any compatible flash based video file.​
duration OPTIONAL
The duration of your track. This is not required, but if you want the system to calculate the total length of your playlist, as well as display content lengths in the actual flash object, you should include this.​
<item><media:thumbnail> OPTIONAL
Thumbnail information about your media track...​
url REQUIRED
This is the URL to the thumbnail for your media file. The thumbnail will appear on the track list in the flash object. As well, if the media you are playing does not have a video feed (such as an MP3), this thumbnail will be displayed in the viewer.​
<item><jwplayer:provider> OPTIONAL
By design JW Player only supports locally hosted files. However, if you have your media on a different server (such as a CDN), you must enable HTTP Pseudo-Streaming. Just add the following to an item if it's hosted on a different server:​
<jwplayer:provider>http</jwplayer:provider>

Thats it! Simple?
 
Yep, me too
geting this error when try to upgrade to v1.2.4

Fatal error: Call to undefined method EWRmedio_Model_Premium::rebuildServices() in /xxx/xxx/public_html/library/EWRmedio/Install.php on line 166
I've emailed you guys a new version of the Premium model...
 
I've emailed you guys a new version of the Premium model...

I get the same error when trying to upgrade,

Fatal error: Call to undefined method EWRmedio_Model_Premium::rebuildServices() in /nfs/c07/h02/mnt/XXXXXX/domains/mysite.com/html/library/EWRmedio/Install.php on line 166
 
I get the same error when trying to upgrade,

Fatal error: Call to undefined method EWRmedio_Model_Premium::rebuildServices() in /nfs/c07/h02/mnt/XXXXXX/domains/mysite.com/html/library/EWRmedio/Install.php on line 166

Problem solved, thanks for the help Jaxel!
 
I am still getting Error #2032 upon completion of soundtrack additions, additionally image format errors

This is my Media Library page... soundtrack in upper right corner is totally FUBAR

soundtrack.webp


When I try to upgrade thumbnails I am also getting image format errors.
 
When uploading sountrack XML file there are no entry in eror log... here is what XenMedio is telling me:

error.webp

I am still getting the Error #2032 msg when trying to play MP3 files.
 
1. I am getting Error #2032 msgs for both audio files.
2. image files are 100x100, have used both PNG and JPG..getting the format errors
3. soundtrack is being written to the Media Library with TWO headings

Code:
rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://developer/longtailvideo.com/trac/">
    <channel>
        <title>masterchief TEAM soundtrack</title>
        <image>http://localhost/xenforo_rc1/_audio/soundtrack/album.png</image>
        <item>
            <title>1-01 Voice Over Study</title>
            <media:content url="http://localhost/xenforo_rc1/_audio/soundtrack/voice.mp3" duration="12"/>
            <media:thumbnail url="http://localhost/xenforo_rc1/_audio/soundtrack/voice.png"/>
        </item>
        <item>
            <title>1-02 Combinator</title>
            <media:content url="http://localhost/xenforo_rc1/_audio/soundtrack/combinator.mp3" duration="33" />
            <media:thumbnail url="http://localhost/xenforo_rc1/_audio/soundtrack/combinator.png"/>
        </item>
    </channel>
</rss>
 
1. I am getting Error #2032 msgs for both audio files.
2. image files are 100x100, have used both PNG and JPG..getting the format errors
3. soundtrack is being written to the Media Library with TWO headings

Code:
rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://developer/longtailvideo.com/trac/">
    <channel>
        <title>masterchief TEAM soundtrack</title>
        <image>http://localhost/xenforo_rc1/_audio/soundtrack/album.png</image>
        <item>
            <title>1-01 Voice Over Study</title>
            <media:content url="http://localhost/xenforo_rc1/_audio/soundtrack/voice.mp3" duration="12"/>
            <media:thumbnail url="http://localhost/xenforo_rc1/_audio/soundtrack/voice.png"/>
        </item>
        <item>
            <title>1-02 Combinator</title>
            <media:content url="http://localhost/xenforo_rc1/_audio/soundtrack/combinator.mp3" duration="33" />
            <media:thumbnail url="http://localhost/xenforo_rc1/_audio/soundtrack/combinator.png"/>
        </item>
    </channel>
</rss>
Have you tried it NOT on a localhost? The system uses Zend_Http to get the thumbnail... I dont know how it reacts to localhost.
 
I just added the following in the first post:

Importing from VB4:
  • Because of the nature of how data is imported into XenForo, I can not reliably offer a universal importing system from the VB4 version of this mod. However, for a price (starting at $30) I would be willing to work on your server/database and import and re-link your data myself. If you are interested, please feel free to message me.
 
Have you tried it NOT on a localhost? The system uses Zend_Http to get the thumbnail... I dont know how it reacts to localhost.

I have relocated audio files to data folder... her eis my current XML file:

Code:
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
    <channel>
        <title>masterchief TEAM soundtrack</title>
        <image>http://http://www.masterchief.com/data/audio/album.png</image>
        <item>
            <title>1-01 Voice Over Study</title>
            <media:content url="http://www.masterchief.com/data/audio/voice.mp3" duration="12"/>
            <media:thumbnail url="http://www.masterchief.com/data/audio/voice.png"/>
        </item>
        <item>
            <title>1-02 Combinator</title>
            <media:content url="http://www.masterchief.com/data/audio/combinator.mp3" duration="33" />
            <media:thumbnail url="http://www.masterchief.com/data/audio/combinator.png"/>
        </item>
    </channel>
</rss>
 
Here is final outcome showing soundtrack in the Media Library... obvious format problem. The files are now playing properly.

track.webp
 
I think I found the issue... in your code:
Code:
http://http://www.masterchief.com/data/audio/album.png

Notice the double http://http:// ? Its not a valid URL.
 
Status
Not open for further replies.
Top Bottom