def action(self, request):
		global utf8ToLatin
		global Manager
		if utf8ToLatin is None:
			from Plugins.Extensions.ProjectValerie.DMC_Plugins.DMC_SyncExtras.Utf8 import utf8ToLatin
		if Manager is None:
			from Plugins.Extensions.ProjectValerie.DMC_Plugins.DMC_SyncExtras.Manager import Manager
			
		finalOutput = WebHelper().getHtmlCore("Home")
		
		currentVersion = Update().getInstalledRevision()
		manager = Manager("WebIf:MainActions")
		movieCount = str(manager.getMoviesCount())
		tvShowCount = str(manager.getSeriesCount())
		episodeCount = str(manager.getEpisodesCount())
		
		updateType = Update().getCurrentUpdateType()
		latestRevision = Update().getLatestRevision()
		
		finalOutput = finalOutput.replace("<!-- MOVIE_COUNT -->", movieCount)
		finalOutput = finalOutput.replace("<!-- TVSHOW_COUNT -->", tvShowCount)
		finalOutput = finalOutput.replace("<!-- EPISODE_COUNT -->", episodeCount)
		
		revisionText = """	<br>
							Your update type => %s.<br>
							The latest release for your update type is %s.<br>
		""" % (updateType, latestRevision)

		finalOutput = finalOutput.replace("<!-- CURRENT_VERSION -->", "Your installed revision => " + currentVersion)
		finalOutput = finalOutput.replace("<!-- LATEST_VERSION -->", revisionText)
		
		return utf8ToLatin(finalOutput)
    def action(self, request):
        global utf8ToLatin
        global Manager
        if utf8ToLatin is None:
            from Plugins.Extensions.ProjectValerie.DMC_Plugins.DMC_SyncExtras.Utf8 import utf8ToLatin
        if Manager is None:
            from Plugins.Extensions.ProjectValerie.DMC_Plugins.DMC_SyncExtras.Manager import Manager

        finalOutput = WebHelper().getHtmlCore("Home")

        # update checker broken so set fixed values - steve4744
        #currentVersion = Update().getInstalledRevision()
        currentVersion = "r1280"
        manager = Manager("WebIf:MainActions")
        movieCount = str(manager.getMoviesCount())
        tvShowCount = str(manager.getSeriesCount())
        episodeCount = str(manager.getEpisodesCount())

        # update checker broken so set fixed values - steve4744
        #updateType = Update().getCurrentUpdateType()
        #latestRevision = Update().getLatestRevision()
        updateType = "Release"
        latestRevision = "r1280"

        finalOutput = finalOutput.replace("<!-- MOVIE_COUNT -->", movieCount)
        finalOutput = finalOutput.replace("<!-- TVSHOW_COUNT -->", tvShowCount)
        finalOutput = finalOutput.replace("<!-- EPISODE_COUNT -->",
                                          episodeCount)

        revisionText = """	<br>
							Your update type => %s.<br>
							The latest release for your update type is %s.<br>
		""" % (updateType, latestRevision)

        finalOutput = finalOutput.replace(
            "<!-- CURRENT_VERSION -->",
            "Your installed revision => " + currentVersion)
        finalOutput = finalOutput.replace("<!-- LATEST_VERSION -->",
                                          revisionText)

        return utf8ToLatin(finalOutput)