SPF


Service Provider File (SPF) is a simple XML document (example in below) which defines the service title, type, description and access information.

Title and description can be provided in multiple languages, from which the terminal will select the one in use in the terminal. English SHOULD be provided as default if language match is not found.

Type attribute is one of following:
VC
= Internet Videos Service
LiveTV= InternetTV Service
VideoRemote= VideoRemote Service
ProgramGuide= EPG Services (without streaming)

Protocol attribute must be one of following:
RSS2.0= RSS2.0 metadata format
XMLTV= XMLTV metadata format

ProviderID must be a URI that is unique to at minimum the service provider. If service which have the same ProviderID is already installed, service can't be installed again.

Nokia SPF file suffix is .vcfg and mime type is application/vnd.nokia.iptv.config+xml. By using this mime type, http server can host SPF files that can be opened from N800 browser. By clicking the SPF link, request is forwarded to Video center and new service installation is executed.

NOTE: mime type is different than what we had in video center for OS2007 (application suffix added):
vnd.nokia.iptv.config+xml -> application/vnd.nokia.iptv.config+xml

Example

<?xml version="1.0" encoding="UTF-8"?>
<nv:ServiceProvider xmlns:nv="www.nokia.com/multimedia/video-service"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="www.forum.nokia.com/multimedia/video-service/IPTVProvSchema"
Version="1.0">

<nv:Service Type="VC" Protocol="RSS2.0" ProviderID="http://www.provider.com/service1">
<nv:ServiceDetails>
<nv:Text xml:lang="en">
<nv:Title>Your Internet Videos</nv:Title>
<nv:Description>Your Internet Videos mobile video catalog: entertainment and news</nv:Description>
</nv:Text>
</nv:ServiceDetails>
<nv:ServiceURI>http://www.provider.com/my_rss.rss</nv:ServiceURI>
<nv:IconURI>http://www.provider.com/icon.png</nv:IconURI>
<nv:Auth>
<nv:UserName>xlnnstp</nv:UserName>
<nv:Password>xln4stp5</nv:Password>
</nv:Auth>
</nv:Service>

<nv:Service Type="LiveTV" Protocol="XMLTV" ProviderID="http://www.yrvod.com/service2">
<nv:ServiceDetails>
<nv:Text xml:lang="en">
<nv:Title>Your LiveTV service</nv:Title>
<nv:Description>LiveTV service provided by me</nv:Description>
</nv:Text>
</nv:ServiceDetails>
<nv:ServiceURI>http://www.provider.com/my_liveTV.xml</nv:ServiceURI>
<nv:IconURI>http://www.provider.com/icon.png</nv:IconURI>
<nv:Auth>
<nv:UserName>xlnnstp</nv:UserName>
<nv:Password>xln4stp5</nv:Password>
</nv:Auth>
</nv:Service>

</nv:ServiceProvider>