Skip to content

Commit

Permalink
Fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
mhergon committed May 31, 2016
1 parent 0c846d4 commit 4303aa9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file not shown.
4 changes: 2 additions & 2 deletions MPMoviePlayerController-Subtitles.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |spec|
spec.name = 'MPMoviePlayerController-Subtitles'
spec.platform = :ios, "8.0"
spec.version = '2.0.3'
spec.version = '2.0.4'
spec.license = { :type => 'Apache License, Version 2.0' }
spec.homepage = 'https://github.com/mhergon/MPMoviePlayerController-Subtitles'
spec.authors = { 'Marc Hervera' => '[email protected]' }
spec.summary = 'Subtitles made easy'
spec.source = { :git => 'https://github.com/mhergon/MPMoviePlayerController-Subtitles.git', :tag => 'v2.0.3' }
spec.source = { :git => 'https://github.com/mhergon/MPMoviePlayerController-Subtitles.git', :tag => 'v2.0.4' }
spec.source_files = 'Subtitles.swift'
spec.requires_arc = true
spec.module_name = 'MPMoviePlayerControllerSubtitles'
Expand Down
4 changes: 2 additions & 2 deletions Subtitles.swift
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ public extension MPMoviePlayerController {

}

private func parseSubRip(var payload: String) -> NSDictionary? {
private func parseSubRip(payload: String) -> NSDictionary? {

do {

// Prepare payload
payload = payload.stringByReplacingOccurrencesOfString("\n\r\n", withString: "\n\n")
var payload = payload.stringByReplacingOccurrencesOfString("\n\r\n", withString: "\n\n")
payload = payload.stringByReplacingOccurrencesOfString("\n\n\n", withString: "\n\n")

// Parsed dict
Expand Down

0 comments on commit 4303aa9

Please sign in to comment.