Skip to content

Commit

Permalink
[add] - add "airtunes" parameter to the playmedia builtin for setting…
Browse files Browse the repository at this point in the history
… the fileitem up for bxa codec and pipe streaming
  • Loading branch information
Memphiz committed Feb 9, 2012
1 parent b435c53 commit c5d1d17
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions xbmc/interfaces/Builtins.cpp
Expand Up @@ -524,6 +524,14 @@ int CBuiltins::Execute(const CStdString& execString)
item.SetProperty("playlist_starting_track", atoi(params[i].Mid(11)) - 1);
else if (params[i].Left(16).Equals("startpercentage="))
item.SetProperty("StartPercent", atoi(params[i].Mid(16)) - 1);
else if (params[i].Equals("airtunes"))
{
item.SetMimeType("audio/x-xbmc-pcm");
item.SetProperty("isradio", true);
item.SetProperty("no-skip", true);
item.SetProperty("no-pause", true);
item.m_bIsFolder = false;
}

}

Expand Down

0 comments on commit c5d1d17

Please sign in to comment.