Skip to content

Commit

Permalink
fix(screen_size): add 540i
Browse files Browse the repository at this point in the history
  • Loading branch information
plotski authored and Toilal committed May 19, 2021
1 parent f19cfda commit 1a7db40
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Video properties

Resolution of video.

- `<width>x<height>`, `360i`, `360p`, `368p`, `480i`, `480p`, `540p`, `576i`, `576p`, `720p`, `900i`, `900p`, `1080i`, `1080p`, `1440p`, `2160p`, `4320p`
- `<width>x<height>`, `360i`, `360p`, `368p`, `480i`, `480p`, `540i`, `540p`, `576i`, `576p`, `720p`, `900i`, `900p`, `1080i`, `1080p`, `1440p`, `2160p`, `4320p`
- **aspect\_ratio**

Aspect ratio of video. Calculated using width and height from `screen_size`
Expand Down
1 change: 1 addition & 0 deletions guessit/config/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@
"interlaced": [
"360",
"480",
"540",
"576",
"900",
"1080"
Expand Down
9 changes: 9 additions & 0 deletions guessit/test/rules/screen_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@
? +852x480i
: screen_size: 480i

? +540p
? +540px
? -540i
? -540
: screen_size: 540p

? +540i
: screen_size: 540i

? +576p
? +576px
? -576i
Expand Down

0 comments on commit 1a7db40

Please sign in to comment.