packages feed

hastily 0.1.0.5 → 0.1.0.6

raw patch · 3 files changed

+25/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README.md view
@@ -16,4 +16,27 @@  Right now Hastily uses OMDB API to search for the movies and opensubtitles.org to search and download subtitles. And right now it will only process .srt files. +#### Installation++You can install Hastily using cabal++    cabal install hastily++Here is a sample invocation for searching for subtitles for+the movie  'Ferris Bueller's Day Off'++    hastily -n "ferris"+    +    1. Ferris Bueller's Day Off , Year: 1986, Imdb: tt0091042, Type: movie+    2. Ferris Bueller , Year: 1990-1991, Imdb: tt0098795, Type: series+    3. The Night Ferris Bueller Died , Year: 1999, Imdb: tt0240760, Type: movie+    4. Inside Story: Ferris Bueller's Day Off , Year: 2011, Imdb: tt2150301, Type: movie+    5. The Ferris Wheel , Year: 1896, Imdb: tt2207641, Type: movie+    6. Brad Ferris' Game Plan , Year: 2013-, Imdb: tt3464692, Type: series+    7. Ferris Wheel on Fire , Year: 2010, Imdb: tt2991876, Type: movie+    8. Ferris Wheel at Night , Year: 2013, Imdb: tt2496624, Type: movie+    9. Farewell, Ferris Wheel , Year: 2012, Imdb: tt2349677, Type: movie+    10. The Ferris Wheel , Year: 2011-, Imdb: tt2136385, Type: series+    Enter a number between 1 and 10, or q to quit.+ Have fun!
app/Main.hs view
@@ -95,7 +95,7 @@         getDiscs (o:os) = case o of DiscCount m -> cs m; _ -> getDiscs os         getReleaseName [] = Nothing::Maybe Text         getReleaseName (o:os) = case o of ReleaseNameSlug m -> Just (cs m); _ -> getReleaseName os-        getSkipWords [] = []::[Text]+        getSkipWords [] = ["advertise"]::[Text]         getSkipWords (o:os) = case o of SkipWord x -> [cs x] ++ (getSkipWords os); _ -> getSkipWords os         getTargetDir [] = "subtitles"::Text         getTargetDir (o:os) = case o of TargetDir x -> (cs x); _ -> getTargetDir os
hastily.cabal view
@@ -1,5 +1,5 @@ name:                hastily-version:             0.1.0.5+version:             0.1.0.6 synopsis:            A program to download subtitle files. description:         Please see README.md homepage:            http://bitbucket.org/sras/hastily