Skip to content
This repository has been archived by the owner on Dec 30, 2019. It is now read-only.

Commit

Permalink
Add 2MB Chunk Size
Browse files Browse the repository at this point in the history
  • Loading branch information
daramkun committed May 25, 2018
1 parent 9fa451f commit e7d8750
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions Daramee.YouTubeUploader/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<ComboBox x:Name="dataChunkSize" ToolTip="데이터 청크 크기" VerticalAlignment="Center" SelectedIndex="{Binding DataChunkSizeIndex}" SelectionChanged="DataChunkSize_SelectionChanged">
<ComboBoxItem Content="256KiB" />
<ComboBoxItem Content="1MiB" />
<ComboBoxItem Content="2MiB" />
<ComboBoxItem Content="5MiB" />
<ComboBoxItem Content="10MiB" />
</ComboBox>
Expand Down
6 changes: 3 additions & 3 deletions Daramee.YouTubeUploader/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[assembly: AssemblyConfiguration ( "" )]
[assembly: AssemblyCompany ( "" )]
[assembly: AssemblyProduct ( "Daram YouTube Uploader" )]
[assembly: AssemblyCopyright ( "Copyright © 2017 Daramee" )]
[assembly: AssemblyCopyright ( "Copyright © 2017-2018 Daramee" )]
[assembly: AssemblyTrademark ( "" )]
[assembly: AssemblyCulture ( "" )]

Expand Down Expand Up @@ -52,8 +52,8 @@
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion ( "1.2.4.0" )]
[assembly: AssemblyFileVersion ( "1.2.4.0" )]
[assembly: AssemblyVersion ( "1.2.5.0" )]
[assembly: AssemblyFileVersion ( "1.2.5.0" )]
[assembly: Guid ( "0225A3A7-E587-4E62-B39D-7860C80EFE9A" )]
[assembly: NeutralResourcesLanguage ( "ko-KR" )]

Expand Down
3 changes: 3 additions & 0 deletions Daramee.YouTubeUploader/Uploader/UploadQueueItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public enum DataChunkSize : int
{
ChunkSize_256KB,
ChunkSize_1MB,
ChunkSize_2MB,
ChunkSize_5MB,
ChunkSize_10MB,
}
Expand Down Expand Up @@ -133,6 +134,7 @@ public DataChunkSize DataChunkSize
{
case ResumableUpload.MinimumChunkSize: return DataChunkSize.ChunkSize_256KB;
case 1 * MB: return DataChunkSize.ChunkSize_1MB;
case 2 * MB: return DataChunkSize.ChunkSize_2MB;
case 5 * MB: return DataChunkSize.ChunkSize_5MB;

default: return DataChunkSize.ChunkSize_10MB;
Expand All @@ -145,6 +147,7 @@ public DataChunkSize DataChunkSize
{
case DataChunkSize.ChunkSize_256KB: videoInsertRequest.ChunkSize = ResumableUpload.MinimumChunkSize; break;
case DataChunkSize.ChunkSize_1MB: videoInsertRequest.ChunkSize = 1 * MB; break;
case DataChunkSize.ChunkSize_2MB: videoInsertRequest.ChunkSize = 2 * MB; break;
case DataChunkSize.ChunkSize_5MB: videoInsertRequest.ChunkSize = 5 * MB; break;
case DataChunkSize.ChunkSize_10MB: videoInsertRequest.ChunkSize = ResumableUpload.DefaultChunkSize; break;
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Daram YouTube Uploader [![version](https://img.shields.io/badge/version-1.21-green.svg)](https://shields.io)
# Daram YouTube Uploader [![version](https://img.shields.io/badge/version-1.25-green.svg)](https://shields.io)
YouTube Uploader Application. Only Korean written.

![v1.20](./DocumentResources/DaramYouTubeUploader_v120.png)
Expand Down

0 comments on commit e7d8750

Please sign in to comment.