It is currently Thu Sep 02, 2010 8:44 am




Post new topic Reply to topic  [ 1 post ] 
Importing ASX Playlist 
Author Message

Joined: Sun Jul 26, 2009 8:40 am
Posts: 208
Post Importing ASX Playlist
---Update---
This also happens when the ASX file is generated in Windows Media Player and saved as an ASX playlist...
Anyone have problems importing ASX video playlists with >400 video files and Orb importing the playlist, but only some of the content in the playlist?

I am trying to import an ASX playlist of video files... and the import only gets some of the files on import.. I have verified that the files giving errors can be viewed normally in orb by browsing to them and watching them.. But I like to create the playlist outside of ORB (perl scripted scirpted) as it is much faster to create the playlist. All works well except some files are left out of the playlist.. I turned logging up to 4 and I notice that I get this error for all the files that did NOT get added to the playlist. Is there somewhere I can get more info about this error 21.. What is error 21? Obviously I can't check line 99 in the function CMedium::linkWithUser to see what is causing the exception.. SO i am looking for assistance?

Any help on the following error?

*** CMedium::linkWithUser : statement threw exception : line 99: error 21
Here is the snippet of perl code that generates the asx content..

Code:
        open (MYFILE, ">$filename");
        print MYFILE "<asx version=\"3.0\">\n";
        print MYFILE "<Param Name = \"AllowShuffle\" Value = \"yes\" />\n";
        print MYFILE "<Param Name = \"Temporary\" Value = \"True\" />\n";
        print MYFILE "<title>K9TV</title>\n";
        foreach $video (@videos){
                if ( &find_file_types($video) ){
                        print MYFILE "<entry>\n";
                        print MYFILE "  <title>$video</title>\n";
                        print MYFILE "  <ref href=\"V:\\$video\" />\n";
                        print MYFILE "  <Param Name = \"Duration\" value=\"05:05:34.000\" />\n";
                        print MYFILE "  <Param Name = \"Artist\"  value=\"K9TV\" />\n";
                        print MYFILE "</entry>\n";
                }
        }
        print MYFILE "</asx>";
        close (MYFILE);

This generates a file that looks like

Code:
<asx version="3.0">
<Param Name = "AllowShuffle" Value = "yes" />
<Param Name = "Temporary" Value = "True" />
<title>K9TV</title>
<entry>
  <title>.\movies\12 Monkeys.avi</title>
  <ref href="V:\movies\12 Monkeys.avi" />
  <Param Name = "Duration" value="05:05:34.000" />
  <Param Name = "Artist"  value="K9TV" />
</entry>

etc...

</asx>

_________________
OrbiWan Kanobi..


Mon Oct 19, 2009 8:55 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.