forked from ben-xo/dir2cast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the name and implement the PartOfASet -> Season mapping
- Loading branch information
Showing
4 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php declare(strict_types=1); | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
class Media_RSS_Item_id3v2_artist_title_partofsetTest extends Media_RSS_ItemTest | ||
{ | ||
public function getMediaFileContent() | ||
{ | ||
return file_get_contents('fixtures/id3v2_artist_title_partofaset.mp3'); | ||
} | ||
|
||
public function getMediaFileLength() | ||
{ | ||
return filesize('fixtures/id3v2_artist_title_partofaset.mp3'); | ||
} | ||
|
||
public function getID3Artist() | ||
{ | ||
return 'ARTIST#65'; | ||
} | ||
|
||
public function getID3Title() | ||
{ | ||
return 'EXAMPLE#65'; | ||
} | ||
|
||
public function getID3PartOfASet() | ||
{ | ||
return 'Season 1'; | ||
} | ||
|
||
public function getDefaultTitle() | ||
{ | ||
return 'EXAMPLE#65'; | ||
} | ||
|
||
public function getDefaultSubtitle() | ||
{ | ||
return 'ARTIST#65'; | ||
} | ||
} |
File renamed without changes.