Commit Graph

23 Commits

Author SHA1 Message Date
chschtsch fa1d386fcc cleanup 2015-11-20 00:52:43 +03:00
chschtsch 0392bf6a02 fix bug with upload date + better way to parse it 2015-11-20 00:49:52 +03:00
Adam Howard 2c11bd1889 fixed Bundle casting bug incurred during related videosdisplay 2015-11-19 14:40:35 +00:00
Adam Howard 91f98c125e finished implementing timestamp, along with refactoring services
* added VideoInfo(AbstractVideoInfo) constructor, to support later implementation for reusing info scraped into VideoPreviewInfo, into VideoInfo
* Made the Extractor class behave as a per-video object;
    - most method return values are video-specific, so it makes sense (to me) to have Extractor be stateful.
    - The only stateless methods are getVideoUrl(), getVideoId() and loadDecryptionCode(String)
* Implemented a constructor for YoutubeExtractor, which performs all initialisation work
2015-11-17 22:51:27 +00:00
Adam Howard 320a4e2351 Refactoring:
* renamed VideoInfoItem to VideoPreviewInfo
* moved streaming service-related classes into their own, new package services
* added javadoc to some classes and methods (where functionality is known well enough to explain)
* De-duplicated common fields between VideoInfo and VideoPreviewInfo by moving them into a common superclass: AbstractVideoInfo
* Removed 2 methods which only call super(), and therefore are unnecessary: PlayVideoActivity.onResume() and PlayVideoActivity.onPostCreate(Bundle)
2015-11-16 23:32:00 +00:00
Adam Howard 67ba126602 implemented locale-specific formatting of view, like and dislike counts, and video published date 2015-11-11 16:23:22 +00:00
Christian Schabesberger 33e332f105 impofed performance and made similar video button hidable 2015-11-08 21:17:51 +01:00
Adam Howard c32c267889 Merge remote-tracking branch 'upstream/master'
Conflicts:
	app/src/main/java/org/schabi/newpipe/VideoItemDetailFragment.java -- still used class-based passing
	app/src/main/java/org/schabi/newpipe/VideoItemListActivity.java -- just some whitespace
2015-11-02 21:29:43 +00:00
Christian Schabesberger b865326d51 added ability to show similar videos 2015-11-02 19:57:47 +01:00
Adam Howard db0508b9ab refactored StreamingService interface so it acts as a Factory (returning new instances of called classes, eg Extractor), rather than passing Class objects (which loses type safety) which are then instantiated. Also noticed there is a conflict between existing gradle setup and mine: misc.xml and app.iml have had their jvm version values switched from 1.8 to 1.7 2015-11-02 15:03:11 +00:00
Christian Schabesberger c22c2009d4 - changed icon again
- made ActionBarHandler not be a singelton anymore
 - fixed go back bug for the "Next Video" thing
 - fixed opening youtube mobile links
2015-10-29 17:56:35 +01:00
Christian Schabesberger 080159849e - added preference for "next video" item
- display if a url is supported or nod
2015-10-27 18:13:04 +01:00
Christian Schabesberger d9e690f62c added NextVideo support 2015-10-25 19:14:29 +01:00
Christian Schabesberger 72e08c0447 fixed some layout bugs 2015-10-23 23:08:01 +02:00
Soofe c068f08ff8 Fixed some typos and removed unused imports. 2015-10-15 23:25:53 +02:00
Christian Schabesberger 4f24d61c4b put the play video button into the horizontal center 2015-09-21 23:53:10 +02:00
Christian Schabesberger d24c87c9c9 added autio streaming & jumped to version 0.4.0 2015-09-21 21:12:48 +02:00
Christian Schabesberger 1ab5872857 made player pause when screen is locked. started creating audiosupport 2015-09-21 13:32:11 +02:00
= 2489c6c329 Some smaller UI changes and else:
- added play video button for better lefthand support
 - wrote codepart to darkon5s listitem improvements
 - set minimum api level to 15 (Android 4.0.3 support)
 - updated to sdk level 23 including the new support libs
2015-09-21 01:10:11 +02:00
Christian Schabesberger c59754499f new app icon & made player fullscreen work better 2015-09-20 13:19:28 +02:00
Christian Schabesberger 08648caaff fixed landscape layout problem & added watch with kodi function 2015-09-15 20:11:42 +02:00
Christian Schabesberger 8dd05d2974 implemented autoplay feature 2015-09-11 09:50:30 +02:00
Christian Schabesberger 73d61f17b5 first commit 2015-09-04 02:15:03 +02:00