File indexing completed on 2025-01-19 04:25:19

0001 function Service()
0002 {
0003     ScriptableServiceScript.call( this, "Template Name", 1, "Title", "Introduction", false );
0004 }
0005 
0006 function onPopulating( level, callbackData, filter )
0007 {
0008     Amarok.debug( "populating level " + level );
0009 
0010     var numberOfItems = 10;
0011     
0012     for ( i = 0; i < numberOfItems; i++ )
0013     {
0014         item = Amarok.StreamItem;
0015         item.level = ;
0016         item.callbackData = ;
0017         item.itemName = ;
0018         item.playableUrl = ;
0019         item.infoHtml = ;
0020         script.insertItem( item );
0021     }
0022     script.donePopulating();
0023 }
0024 
0025 script = new Service();
0026 script.populate.connect( onPopulating );